django-createsuperuserwithpassword
… provides a Django management command to create ready-to-login super users during development.
How to Use
1. Install
Install the pip package locally or globally:
pip install [--user] django-createsuperuserwithpassword
2. Activate
Enable the Django management command by extending your Django project settings:
INSTALLED_APPS += ("django_createsuperuserwithpassword", )
3. Apply
Call the command — e.g. from within a container entrypoint script — like this:
python manage.py createsuperuserwithpassword \
--username admin \
--password admin \
--email admin@example.org \
--preserve
Development
If you want to help fix a bug, an easy way to spin up a development environment is:
git clone https://github.com/hartwork/django-createsuperuserwithpassword
cd django-createsuperuserwithpassword
docker-compose up --build
Metadata
Release files for django-createsuperuserwithpassword 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-createsuperuserwithpassword-2.0.0.tar.gz | 4.2 kB | Without provenance | Details for django-createsuperuserwithpassword-2.0.0.tar.gz |
Release files / django-createsuperuserwithpassword-2.0.0.tar.gz
| Download URL | django-createsuperuserwithpassword-2.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
337482e587b87967817f087f922d567cee6d59bd961328b2d8749960a4dcf1d9
|
|
BLAKE2b-256 checksum How to use checksums |
9aa3a40cf9cb1384497c28dcaf20b473436981a3622cff9287b3de7cb8c449a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for django-createsuperuserwithpassword 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.