Create Django management script that allows for super users to be created from variables in the environment
manage.py createsuperuser-env
: extension of createsuperuser
that allows for the username, password, and API token to be injected from environment variables and command line parameters.
-
DJANGO_USERNAME
: environment variable for the username -
DJANGO_PASSWORD
: environment variable for the password -
DJANGO_USER_APITOKEN
: environment variable for the API token
Part of imaging-development-env#20 (closed).