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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-accounts-3.0.4.tar.gz
  • Upload date:
  • Size: 34.7 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.4.tar.gz
Algorithm Hash digest
SHA256 4e1329914ecee62560f4e204360ba2bc12e504b3574eb4f68abee8f7aad012aa
MD5 b19c566c6d1d74073ee2d3f85f7c68d0
BLAKE2b-256 52825235082aff151417c9a1c68fc4a0a57f8e6bccf5a6ae5932f2c8d74afdcb

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