diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index 292a57b..9189a33 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -725,6 +725,8 @@ class Event(models.Model): ) except Category.DoesNotExist: event_structure["category"] = Category.get_default_category() + else: + event_structure["category"] = Category.get_default_category() if "published" in event_structure and event_structure["published"] is not None: if event_structure["published"]: