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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-accounts-3.0.6.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/5.0.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.10.0 tqdm/4.64.1 CPython/3.8.10

File hashes

Hashes for dj-accounts-3.0.6.tar.gz
Algorithm Hash digest
SHA256 198a610d87928fb372061ac60823f9b8f3108db33bb5d7a2ef66d8eb4999aed2
MD5 a62ab3847ef6243a492dc46f52d138b6
BLAKE2b-256 05c5a9360e912fdff8510aaaddbbb5ab7a83991eaa29db702fb48e3bc3c1a381

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