mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
Merge pull request #59 from YunoHost-Apps/dev
Bugfix "fill_basedata" call, move it after "migrate" call.
This commit is contained in:
commit
b6176cdf69
1 changed files with 3 additions and 2 deletions
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue