From 3b516ed30cace5235430fd9499abb178f0ec72dd Mon Sep 17 00:00:00 2001 From: Jens Diemer Date: Fri, 2 Aug 2024 21:22:41 +0200 Subject: [PATCH] Bugfix "fill_basedata" call, move it after "migrate" call. --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b30790d..0d26ed4 100755 --- a/scripts/install +++ b/scripts/install @@ -98,11 +98,12 @@ cd "$data_dir" || exit # Just for debugging: ./manage.py diffsettings -./manage.py fill_basedata - ./manage.py migrate --no-input ./manage.py collectstatic --no-input +# Call special Django-For-Runner manage command: +./manage.py fill_basedata + # Create/update Django superuser (set unusable password, because auth done via SSOwat): ./manage.py create_superuser --username="$admin" --email="$(ynh_user_get_info "$admin" mail)"