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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-accounts-4.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 aad6df220d7c630292f8659299769d8159b726a7bd55bf538d81820ad18098fe
MD5 ac0b63b63776f6ddc8b4bbf63dd5be81
BLAKE2b-256 8461192f1901ca94212ed8c9077e7ee6c79d07c95de0c6fb27195d66ab1af605

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