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.1.0.tar.gz
(38.4 kB
view hashes)
Built Distribution
Close
Hashes for dj_accounts-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a929e26bdf295d8b64e7ef0e2ed3e44362cea3cc77dfde7abc4bf0c09cd191ce |
|
MD5 | 557ba9e53d9ba5f03173ccf1dea2c50a |
|
BLAKE2b-256 | 55c154f30373fe7b7529ba2b4989a9a6c9ab75f440122db188c6841e5279639b |