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

Uploaded Source

Built Distribution

dj_accounts-4.1.0-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dj-accounts-4.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 341202e89b902f31de8595bd6c3ff1d86c38d9b3d8a5147a1c86cf041fe86854
MD5 9d7d09f34ef974a1afb8a3adf9240801
BLAKE2b-256 46d3c48a699dd833768af06ae32cf98922b47e3a71f7bba73b4088c87900cc6b

See more details on using hashes here.

File details

Details for the file dj_accounts-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: dj_accounts-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0rc1

File hashes

Hashes for dj_accounts-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a929e26bdf295d8b64e7ef0e2ed3e44362cea3cc77dfde7abc4bf0c09cd191ce
MD5 557ba9e53d9ba5f03173ccf1dea2c50a
BLAKE2b-256 55c154f30373fe7b7529ba2b4989a9a6c9ab75f440122db188c6841e5279639b

See more details on using hashes here.

Supported by

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