createsuperuser with password
Project description
Installation
$ [sudo] pip install django-createsuperuser
Commands
command | help |
---|---|
python manage.py createsuperuser |
create/update a superuser with password |
Executable modules
usage | __doc__ |
---|---|
python -m django_createsuperuser username password [email] |
create/update a superuser with password |
Examples
example#1 - management command:
settings.py
INSTALLED_APPS+= ["django_createsuperuser"]
$ python manage.py createsuperuser --username admin --password admin
$ python manage.py createsuperuser --username admin --password admin --email foo@foo.foo
example#2 - python module cli:
$ export DJANGO_SETTINGS_MODULE=settings
$ python -m django_createsuperuser "username" "password"
$ python -m django_createsuperuser "username" "password" foo@foo.foo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-createsuperuser-2019.9.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72c366528c988f8bc2a3187347de01a214fdaa9d9ef937a0485138905fd7796 |
|
MD5 | 903b8aff4bb1bee50ea7e3f1d58a0992 |
|
BLAKE2b-256 | 2b9f3aaaf86682836f28035d4b45970c9187c7922ca3071f5e79019e5a4a6fc0 |