A Django app to support email-based authentication.
Project description
Mailauth is a Django authentication app to replace the default username-based authentication with an email-based authentication.
Note: Mailauth should installed & setup before any migration is created.
Quick start
Install the django-mailauth authentication using pip from PyPi:
pip install django-mailauth
Add “mailauth” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'mailauth', ]
Replace your default “User” model with with Mailauth’s custom user model In your settings.py module, add or update the following line:
AUTH_USER_MODEL = 'mailauth.User'
Run python manage.py makemigrations to create your first migrations.
Run python manage.py migrate to apply the changes to your database tables.
Start the development server and visit http://127.0.0.1:8000/admin/ to add new users (you’ll need the Admin app enabled).
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
File details
Details for the file django-mailauth-0.3.1.tar.gz.
File metadata
- Download URL: django-mailauth-0.3.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.20.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72ed8078182fe40f6f7dacadf3c5718f1d0f5ab85644946062de68c56d8834f4
|
|
| MD5 |
02b673420df46bb4d99806b1cab962b6
|
|
| BLAKE2b-256 |
968ba4ffb6774864bbdbee4883c042bf40693234d277b6334a279e57b5b466af
|