Skip to main content

Build Status codecov

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

MIT

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)

Source distribution for dau 0.1.3
File Size Uploaded
dau-0.1.3.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dau 0.1.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page