manage.py makesuperuser --username admin --password admin
Project description
Installation
$ [sudo] pip install django-makesuperuser
Commands
command | help |
---|---|
python manage.py makesuperuser |
create/update a superuser with password |
Executable modules
usage | __doc__ |
---|---|
python -m django_makesuperuser username password [email] |
create/update a superuser with password |
Examples
example#1 - management command:
settings.py
INSTALLED_APPS+= ["django_makesuperuser"]
$ python manage.py makesuperuser --username admin --password admin
$ python manage.py makesuperuser --username admin --password admin --email foo@foo.foo
example#2 - python module cli:
$ export DJANGO_SETTINGS_MODULE=settings
$ python -m django_makesuperuser "username" "password"
$ python -m django_makesuperuser "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-makesuperuser-2019.9.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410a677d61b3e3a48eb837c46767ffffe17d71e0f3d26edd435ee810ecf19f39 |
|
MD5 | b44e27246a70cf9d8679f6b5ea3a902e |
|
BLAKE2b-256 | b3eef368270a5fdfd674f9e236f598e249bbde9ed2ab7768b0014c688c80165f |