Merge pull request #59 from YunoHost-Apps/dev

Bugfix "fill_basedata" call, move it after "migrate" call.
This commit is contained in:
Jens Diemer 2024-08-02 21:23:43 +02:00 committed by GitHub
commit b6176cdf69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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