aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-18 23:05:40 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-18 23:05:40 +0100
commitfd147b934ef03a6609bee4efff24967f854f5495 (patch)
tree74f213bb258f662045fe921645d5f25825c2fe76 /pysite/tables.py
parentAdded SVG file and edited navbar accordingly (#72) (diff)
[Jams] A bunch more work. That's all for tonight, though.
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pysite/tables.py b/pysite/tables.py
index 8ec550fb..499172d9 100644
--- a/pysite/tables.py
+++ b/pysite/tables.py
@@ -65,8 +65,11 @@ TABLES = {
"code_jam_questions": Table( # Application form questions
primary_key="id",
keys=sorted([
+ "data", # dict
"id", # uuid
- "" # TODO
+ "optional", # bool
+ "title", # str
+ "type", # str
])
),
@@ -76,6 +79,7 @@ TABLES = {
"id", # uuid
"jam", # int
"answers", # dict {question, answer, metadata}
+ "approved" # bool
])
),