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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-accounts-3.1.0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.10

File hashes

Hashes for dj-accounts-3.1.0.tar.gz
Algorithm Hash digest
SHA256 ee1bf730134909b5e150a9c004106683590471cff356f4819f602f6dcaa1c1a1
MD5 fecc2ee53078dcf095de2ffa1964899f
BLAKE2b-256 7ed848a3b09c61294776de0826611a834ecb449c8e8de77f27341d097c335734

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