Food team deals with food.
This commit is contained in:
parent
650de5c067
commit
63e34ce387
|
@ -32,7 +32,6 @@ def add_teams_to_categories(apps, schema_editor):
|
|||
"where",
|
||||
"sleep",
|
||||
"bicycles",
|
||||
"food-and-groceries",
|
||||
"infodesk-and-cert",
|
||||
"shower-and-toilets",
|
||||
"venue-map",
|
||||
|
@ -40,6 +39,10 @@ def add_teams_to_categories(apps, schema_editor):
|
|||
]
|
||||
infocategories2018.filter(anchor__in=info_anchors).update(team=infoteam)
|
||||
|
||||
# Food team
|
||||
food = team2018.filter(name="Food")
|
||||
infocategories2018.filter(anchor_in=["food-and-groceries"]).update(team=food)
|
||||
|
||||
# NOC team
|
||||
noc = team2018.filter(name="NOC")
|
||||
infocategories2018.filter(anchor__in=["network"]).update(team=noc)
|
||||
|
|
Loading…
Reference in a new issue