From 8fd82434af557742bfd37e8d900270642269fa0b Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Fri, 4 Jan 2019 16:15:45 +0100 Subject: [PATCH] Fix example data generator fix #4066 --- openslides/core/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/core/apps.py b/openslides/core/apps.py index 86958c32d..86c265307 100644 --- a/openslides/core/apps.py +++ b/openslides/core/apps.py @@ -54,7 +54,7 @@ class CoreAppConfig(AppConfig): # Skip all database related accesses during migrations. is_normal_server_start = False for sys_part in sys.argv: - for entry in ('runserver', 'gunicorn', 'daphne'): + for entry in ('runserver', 'gunicorn', 'daphne', 'create-example-data'): if sys_part.endswith(entry): is_normal_server_start = True break