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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b18c95da9ce65811260229e89cc0452833365254f2e4c85822d2988b7bd4962b |
|
MD5 | 6f7d9fbbfa826e4c176ffc84ce69c8fd |
|
BLAKE2b-256 | 1516d7c5f376c5445df68ea32c5f0a08aa100563acefc0dc63c249425bd81108 |