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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-accounts-4.0.4.tar.gz
  • Upload date:
  • Size: 38.4 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.4.tar.gz
Algorithm Hash digest
SHA256 b4753711f6856af7fbfb6cf3f8ba0f939841b95438c0ea6b4b47278505340518
MD5 a57604c7af2b415de30ef012dec6fe08
BLAKE2b-256 6931bf00b9987c1312426dd454328e2f72e3d66d9b28a7e5712c2a511dddd778

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