A custom user model for django authentication
Project description
Django custom user model
A Custom User model for authentication
Requirement
- Python (3.5, 3.6, 3.7, 3.8)
- Django (1.11, >2.0, 2.1, 2.2, 3.0, 3.1)
Installation
Install using pip
pip install django-custom-user-models
add to INSTALLED_APPS
setting
INSTALLED_APPS = {
...
'CustomAuth',
...
}
set AUTH_USER_MODEL
setting before first migrate
AUTH_USER_MODEL = 'CustomUser.User'
migrate apps
py manage.py migrate
Status Handler
add handler
to yourproject/urls.py
from CustomAuth.urls import handler400, handler401, handler403, handler404, handler500
License
Uses the MIT license.
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-custom-user-models-0.0.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eb52fdc907ea48868fa133baa1903f4bb21daabfcbf28c9bd8a2490da2742de |
|
MD5 | f45803e6d8ce62404b8bf9b07de08fac |
|
BLAKE2b-256 | bf7e324bece52ecdcf47a7ff109630d19ee73f2a193a90006e517deb7d6591f3 |
Close
Hashes for django_custom_user_models-0.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9207a2ed16cbfba42191dbf1938e6eb3ab7d60e6e6c73c3c21c35b5cae94e2b |
|
MD5 | 962e1320b4185e58d251910f3a959dcc |
|
BLAKE2b-256 | e83f4db3f3a3cd435781388d3b077d56bcdea4d5e9e3571cd66741b6bc209e33 |