added a bunch of to-dos. tried to make the base_board update automatically on launch of routes.py, added a bunch of to-dos to make it into a cool product

This commit is contained in:
2018-01-21 16:11:33 -05:00
parent 1ef33bc785
commit 2d3d564158
6 changed files with 31 additions and 5 deletions

View File

@@ -83,6 +83,12 @@ def prep_colors_for_table(some_colors):
return palette
def update_base_table():
base_board = get_board()
base_board.palette = ''.join(colors)
session.commit()
base_board = get_board(name='') or create_board('', '00' * num_squares, colors)
# each number is represented by a two-digit integer string