CONT: continue the previous change.

This commit is contained in:
2019-01-29 17:25:03 +01:00
parent e6a5f9818a
commit 7667277862
14 changed files with 281 additions and 252 deletions

View File

@@ -3,13 +3,13 @@ from __future__ import unicode_literals
from django.db import migrations
from dav_events.models.eventstatus import get_event_status
from dav_events.models.eventstatus import get_or_create_event_status
def create_stati(apps, schema_editor):
l = ('draft', 'submitted', 'accepted', 'publishing', 'published', 'expired')
for c in l:
get_event_status(c)
get_or_create_event_status(c)
def create_flags(apps, schema_editor):