Load custom fields when creating the container.

This commit is contained in:
David Dieulivol 2018-01-24 09:21:55 +01:00
parent b505aac213
commit 8e98b8d870
4 changed files with 33 additions and 0 deletions

View file

@ -39,6 +39,10 @@ if not User.objects.filter(username='${SUPERUSER_NAME}'):
Token.objects.create(user=u, key='${SUPERUSER_API_TOKEN}')
END
for script in $(ls startup_scripts/*.py 2> /dev/null); do
./manage.py shell --plain < "${script}"
done
# copy static files
./manage.py collectstatic --no-input

View file