mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-01-28 13:43:13 +00:00
Formatting
This commit is contained in:
parent
0cd10dd3b5
commit
14f669fe0d
|
|
@ -55,7 +55,7 @@ if [ "$SKIP_SUPERUSER" == "true" ]; then
|
||||||
echo "↩️ Skip creating the superuser"
|
echo "↩️ Skip creating the superuser"
|
||||||
else
|
else
|
||||||
./manage.py shell --no-startup --no-imports --interface python \
|
./manage.py shell --no-startup --no-imports --interface python \
|
||||||
< /opt/netbox/super_user.py
|
< /opt/netbox/super_user.py
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "✅ Initialisation is done."
|
echo "✅ Initialisation is done."
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
from os import environ
|
from os import environ
|
||||||
from users.models import Token, User
|
|
||||||
from users.choices import TokenVersionChoices
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
from users.choices import TokenVersionChoices
|
||||||
|
from users.models import Token, User
|
||||||
|
|
||||||
|
|
||||||
# Read secret from file
|
# Read secret from file
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue