this application is for handling all auth operations
Project description
Installation
pip install dj-accounts
Configuration
INSTALLED_APPS = [
...,
'dj_accounts',
]
in your settings.py
# for custom register form
REGISTER_FORM = 'users.form.RegisterForm'
# django restFramework settings
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework_simplejwt.authentication.JWTAuthentication',
],
}
in your settings.py
# django restFramework settings
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework_simplejwt.authentication.JWTAuthentication',
],
}
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
dj-accounts-4.0.2.tar.gz
(38.4 kB
view hashes)
Built Distribution
Close
Hashes for dj_accounts-4.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45259f0644a3556f3a7dca905dcc0ec80c9986813d8f0e19aea1a8f520634e7c |
|
MD5 | e40301c69b1557e3c8882e1ae8c3c2d9 |
|
BLAKE2b-256 | 6ee1e7235222cd77ab1f4ce2f1e2e927f8bb8b47155ea0ff13b6769df621c74b |