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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2d406295377663af8357b7c3c8ccd0f9dd9766137fd0aa1fa1767e39f8263a |
|
MD5 | f5d89328cc0fc28643a24e70f499ec1f |
|
BLAKE2b-256 | 7f95c8fc18f7118b0ffa707750eb304562d8797868a826bf51fe5e9f3c5582f3 |