Skip to content

Commit

Permalink
#63 fix data model
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwunderbar666 committed Jun 15, 2024
1 parent 10573fc commit ce0768b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meteor/main/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ class NewsSource(Entry):
"society": "Society & Panorama",
"science": "Science & Technology",
"youth": "Youth",
"NA": "Don't Know / NA",
},
tom_select=True,
queryable=True,
Expand Down Expand Up @@ -1253,6 +1254,7 @@ class Tool(Entry):
choices={"windows": "Windows", "linux": "Linux", "macos": "macOS"},
tom_select=True,
queryable=True,
default=["windows", "linux", "macos"]
)

programming_languages = ListRelationship(
Expand Down Expand Up @@ -1426,6 +1428,7 @@ class ScientificPublication(Entry):

paper_kind = SingleChoice(
description="What kind of publication is this?",
required=True,
choices={
"journal-article": "Journal Article",
"book": "Book",
Expand Down

0 comments on commit ce0768b

Please sign in to comment.