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.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 143d7589fe43a4d769d9a233e5a0a7385e9e767282fdfd847b8d99808117f23f |
|
MD5 | 934de8cbce67a6223c108ec79cb085d6 |
|
BLAKE2b-256 | 4c55635f4359bb8963ddad4df37798874f539ab69d1c14671aa81e7d8756cfa3 |