Skip to main content

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


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.0.tar.gz (46.6 kB view details)

Uploaded Source

File details

Details for the file dj_accounts-4.0.0.tar.gz.

File metadata

  • Download URL: dj_accounts-4.0.0.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0rc1

File hashes

Hashes for dj_accounts-4.0.0.tar.gz
Algorithm Hash digest
SHA256 12571ad6f3d9fe49a5d4107cfa414120a474f5c7fae46c1fa70e57000e3e1a44
MD5 7473fab322a9aa6bd50d7b7fa72a08f8
BLAKE2b-256 835d71c1667f1ab5ecc04280f858e6f1d0aa1788a1ff5c62eeb05f27f43cc605

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page