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.5.tar.gz
(38.4 kB
view hashes)
Built Distribution
Close
Hashes for dj_accounts-4.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82bcc645465132776ce0c5fb7de521650b4bb72e233e0c5b1e813d40cc312123 |
|
MD5 | b156d0c002001fcd9e091d5ce2c23b72 |
|
BLAKE2b-256 | 86c1627fd8011ab0ea349a7ace7bfa25057026ba417c86186f16273a490bdb16 |