We are currently using Django migrations to manage data in environments. For example migration 0114_category_changes_SIG-2872.py adds a new subcategory for "eikenprocessierups".
This migration was breaking for the Den Bosch environment as the main category "openbaar-groen-en-water" does not exist there:
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 406, in get
raise self.model.DoesNotExist(
__fake__.DoesNotExist: Category matching query does not exist.
Probably we should move to a different way of managing data within environments.
We are currently using Django migrations to manage data in environments. For example migration 0114_category_changes_SIG-2872.py adds a new subcategory for "eikenprocessierups".
This migration was breaking for the Den Bosch environment as the main category "openbaar-groen-en-water" does not exist there:
Probably we should move to a different way of managing data within environments.
Related to #35.