A Django app to create custom user types and their roles.
Project description
===== Auth_user
auth_user is a Django app to which is used to serve user objects. It is used to authenticate and authorize user, create custom user types (roles) and assign them different permissions.
Detailed documentation is in the "docs" directory.
Quick start
Note**: This package must be used before running your first migrate command
-
Add "auth_user" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'auth_user', ]
-
Also change the default user model for your project. To do that add this in settings.py ::
AUTH_USER_MODEL = 'auth_user.User'
-
Include the polls URLconf in your project urls.py like this::
path('auth_user/', include('auth_user.urls')),
-
Run
python manage.py migrate
to create the auth_user models. -
Start the development server and visit http://127.0.0.1:8000/admin/ to create permissions and other customizations (you'll need the Admin app enabled).
Project details
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
Hashes for dj_custom_auth-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9413c043030c77ce5022ecf7746456d93da5ab82201fb70dde116bc422c26c41 |
|
MD5 | c67a845f964adacc71721bdbbd05f88f |
|
BLAKE2b-256 | 8bc3ec369f043783312f758bf1d8bf4fbee95ed64f409f2d68c5cd3f3b1fb6bd |