Skip to main content

Cleverange Auth

Cleverange Auth is a Django app to managing authenticated systems.

Quick start

  1. Add "accounts" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [

     ...
     'accounts',
    

    ]

  2. Include the accounts URLconf in your project urls.py like this::

    path('accounts/', include('accounts.urls')),

  3. Include the "AUTH_USER_MODEL" and "AUTHENTICATION_BACKENDS" in your project settings.py like this::

    AUTH_USER_MODEL = 'accounts.User'

    AUTHENTICATION_BACKENDS = ['accounts.backends.EmailOrUsernameBackend']

  4. Include the "LOGIN_REDIRECT_PATH" (to redirect user after login) in your project settings.py like this.

    LOGIN_REDIRECT_PATH = '/'

  5. Include the EMAIL access (to send verification mail) in your project settings.py like this.

    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

    EMAIL_HOST = 'smtp.gmail.com'

    EMAIL_USE_TLS = True

    EMAIL_PORT = 587

    EMAIL_HOST_USER = 'your_email_address@gmail.com'

    EMAIL_HOST_PASSWORD = 'your_app_password'

  6. Run python manage.py migrate to create the accounts models.

  7. Start the development server and visit to your endpoint.

    http://127.0.0.1:8000/accounts/register/

    http://127.0.0.1:8000/accounts/login/

THANK YOU FOR USING OUR APP.

Metadata

Release files for cleverange-auth 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cleverange-auth 0.1.10
File Size Uploaded Provenance
cleverange-auth-0.1.10.tar.gz 12.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cleverange-auth 0.1.10
File Interpreter ABI Platform
cleverange_auth-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / cleverange-auth-0.1.10.tar.gz

Download URL cleverange-auth-0.1.10.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
67f6a3a3b498a68f94cb6015aa0452666a6901f24c725a2016018f7b8159fbf8
BLAKE2b-256 checksum
How to use checksums
32ce702b5ba5b376e7fa27455cb5337839fb480995123ca4ac364402e98de038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

Release files / cleverange_auth-0.1.10-py3-none-any.whl

Download URL cleverange_auth-0.1.10-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2664773e6daeabb4f22fe64b4e5bf014d251c146ba52ae78fd3edcdab24e8461
BLAKE2b-256 checksum
How to use checksums
caec5e214cca779db28fc6fe3d44bf0a3433fb708653cd8b574b38805ea99b03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

Security for cleverange-auth 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page