Bugfix "fill_basedata" call, move it after "migrate" call.

This commit is contained in:
Jens Diemer 2024-08-02 21:22:41 +02:00
parent bdaae61ce1
commit 3b516ed30c

View file

@ -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)"