CONT: continue the previous change.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user