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.8.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb450a3cb7feb5f6b491f5d92b102888424380a9c1dc0da96ca53a6c6dc67a4 |
|
MD5 | cb7f9a392cf2ecc14d27de9214641b0b |
|
BLAKE2b-256 | 78aab0cbcc8384970450a2ddebd92993ad60907e91dd688c7a2a3cfe46d41b89 |