django-createsuperuserwithpassword 2.0.0

Creator: danarutscher

Last updated:

0 purchases

django-createsuperuserwithpassword 2.0.0 Image
django-createsuperuserwithpassword 2.0.0 Images
Add to Cart

Description:

djangocreatesuperuserwithpassword 2.0.0

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 [email protected] \
--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


Authors
django-createsuperuserwithpassword is based on code by Adam
Charnock licensed under the MIT license that started out at
adamcharnock/swiftwind-heroku.
Sebastian Pipping added and fixed a few things, on top.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.