A Django authentication app to save your times.
Project description
Cleverange Auth
Cleverange Auth is a Django app to managing authenticated systems.
Quick start
-
Add "accounts" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
... 'accounts',]
-
Include the accounts URLconf in your project urls.py like this::
path('accounts/', include('accounts.urls')), -
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'] -
Include the "LOGIN_REDIRECT_PATH" (to redirect user after login) in your project settings.py like this.
LOGIN_REDIRECT_PATH = '/' -
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 = TrueEMAIL_PORT = 587EMAIL_HOST_USER = 'your_email_address@gmail.com'EMAIL_HOST_PASSWORD = 'your_app_password' -
Run
python manage.py migrateto create the accounts models. -
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cleverange-auth-0.1.10.tar.gz.
File metadata
- Download URL: cleverange-auth-0.1.10.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f6a3a3b498a68f94cb6015aa0452666a6901f24c725a2016018f7b8159fbf8
|
|
| MD5 |
5e03c1ee88a68b13dcc5f1b47641ab65
|
|
| BLAKE2b-256 |
32ce702b5ba5b376e7fa27455cb5337839fb480995123ca4ac364402e98de038
|
File details
Details for the file cleverange_auth-0.1.10-py3-none-any.whl.
File metadata
- Download URL: cleverange_auth-0.1.10-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2664773e6daeabb4f22fe64b4e5bf014d251c146ba52ae78fd3edcdab24e8461
|
|
| MD5 |
6cb4f14aa29ee418878f63dbb3929c2e
|
|
| BLAKE2b-256 |
caec5e214cca779db28fc6fe3d44bf0a3433fb708653cd8b574b38805ea99b03
|