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
Metadata
Release files for django-createsuperuser 2020.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-createsuperuser-2020.12.3.tar.gz | 2.3 kB | Details |
Release files / django-createsuperuser-2020.12.3.tar.gz
| Download URL | django-createsuperuser-2020.12.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce538d81f56899cefa8c78d965df631531eab15de04e90a84781d604def05dac
|
|
BLAKE2b-256 checksum How to use checksums |
d5b0b88e88eba5b7fc9321dfdb80309df69a0a79c0d1080af523006159a41952
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|