A Django admin command to create an admin user if no user exists
Project description
django_init_admin
Django admin command to create an admin/admin superuser if no user exists
The main purpose is to init an admin user for the applications you deliver. Your end-user will be able to login with admin (pwd: admin) and manage his users.
usage
- Install the command in your python environment:
pip install django_init_admin_command
- Include this command in you project settings.py file:
INSTALLED_APPS = [ # ... 'init_admin_command', # ...
- Create the admin user in a deploy / install script:
python manage.py initadmin
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
Built Distribution
Close
Hashes for django_init_admin_command-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7ffbebfccd6edd4563b68aa93ae93b0d1dd9c1a747866b2bc878a1a72fc57c |
|
MD5 | 0c372d52860c354d8a7880d2f5131c94 |
|
BLAKE2b-256 | bb3e0e1ce5a2c56d758c08c9826660384fcf90e0a4af3b15a0a12d5604d91491 |
Close
Hashes for django_init_admin_command-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e38b79833a691a9d64db2672cafea872643f543e5dd4b5ecdcc8703065230644 |
|
MD5 | 795e6227062aaaa5ecff54b5970391ab |
|
BLAKE2b-256 | 65eac267fd9dd6ed1f33621f622b28df62650d1a5478b98a3937c297ee542a48 |