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

Uploaded Source

File details

Details for the file dj-accounts-4.0.3.tar.gz.

File metadata

  • Download URL: dj-accounts-4.0.3.tar.gz
  • Upload date:
  • Size: 38.3 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.3.tar.gz
Algorithm Hash digest
SHA256 aa08861c6f6827ce40eaa069985c6ab8b30c16698509f0ca4980536db7f025dd
MD5 dfdbc3a236b1ebc05634d9137466c5c6
BLAKE2b-256 f8582a18bc8c5319913dfafa59541826ae9980a9a8d1998ac6688eb616a92f06

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