Django Auto User
Django Auto User (DAU) is a Django (Python) library for the automatic creation of users.
Installation
Use the package manager pip to install Django Auto User.
pip install dau
Usage
Add 'dau' to INSTALLED APPS after 'django.contrib.admin' in your settings.py:
INSTALLED_APPS = [
...
'django.contrib.admin',
'dau',
...
]
Then, just add DJANGO_AUTO_USER settings to your settings.py file as:
DJANGO_AUTO_USER = [
{
'username':'admin',
'email':'admin@admin.com',
'password':'adminpass',
'is_superuser':True,
'is_staff':True,
'is_active':True
}
]
Make your migrations with:
python manage.py makemigrations
python manage.py migrate
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
License
Metadata
Release files for dau 0.1.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 | |
|---|---|---|---|
| dau-0.1.3.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dau-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / dau-0.1.3.tar.gz
| Download URL | dau-0.1.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cb5435f8b12eb43a3ef8bd470edb1838492016d942b24369149271039e973a8
|
|
BLAKE2b-256 checksum How to use checksums |
f5fa63c3fd45c556ecb594e70b47d91722bd591f597c7820925bb879dae250d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.8 Windows/7
|
Release files / dau-0.1.3-py3-none-any.whl
| Download URL | dau-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e71e6afaf4a0a68c2853bf55cdc8e41e631b10bd61becae55c3b7757533c3ef
|
|
BLAKE2b-256 checksum How to use checksums |
0ae93443016a925470e0fe7c44cc3880aefea2dc8b87c4e11ca51cf8b138a24b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.8 Windows/7
|