Rename project_type to category in Project

Requires renaming custom_props.cloud.project_type fields to
custom_props.cloud.category in all documents of the projects
collection.
This commit is contained in:
2019-04-19 11:13:31 +02:00
parent 5df18b670a
commit a04e62e3e9
2 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ def setup_for_film(project_url):
# are already there.
all_extension_props = project.setdefault('extension_props', {})
cloud_extension_props = {
'project_type': 'film',
'category': 'film',
'theme_css': '',
# The accent color (can be 'blue' or '#FFBBAA' or 'rgba(1, 1, 1, 1)
'theme_color': '',