createsuperuser with password
Project description
Installation
$ [sudo] pip install django-createsuperuser
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-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7411241d2e15486a19d15e9473e9c746ffc18fdc03780a7bc8b18e4e7d21b1bb |
|
MD5 | dd51278fe95bec41d75508def85995d2 |
|
BLAKE2b-256 | 13ffb0030850a5c7f584b1e4007741a0cb64a27dd6434485fde04d791237de8e |