manage.py makesuperuser --username admin --password admin
Project description
Installation
$ [sudo] pip install django-makesuperuser
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-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6b3fc46557dde0256b69a6ced6e1df604507fad3b4911d2907dce60818af7f |
|
MD5 | 174ce605b1acabaa83333b082db3d546 |
|
BLAKE2b-256 | 6a956a069a573137c97ed0c0388a2f10b3fb04bf768422fc8f1ae66a680911fb |