django-custom-auth
==================
Implements email based login with Django >= 1.5.
# Installation
pip install django-custom-auth
# Add this to your settings
INSTALLED_APPS += (
'custom_auth',
)
AUTHENTICATION_BACKENDS = ('custom_auth.auth.Authenticate',)
AUTH_USER_MODEL = 'custom_auth.User'
# URLs
url(r'^accounts/', include('custom_auth.urls')),
# Utilization in your models
user = models.ForeignKey(settings.AUTH_USER_MODEL)
# To access the user model
from django.contrib.auth import get_user_model
==================
Implements email based login with Django >= 1.5.
# Installation
pip install django-custom-auth
# Add this to your settings
INSTALLED_APPS += (
'custom_auth',
)
AUTHENTICATION_BACKENDS = ('custom_auth.auth.Authenticate',)
AUTH_USER_MODEL = 'custom_auth.User'
# URLs
url(r'^accounts/', include('custom_auth.urls')),
# Utilization in your models
user = models.ForeignKey(settings.AUTH_USER_MODEL)
# To access the user model
from django.contrib.auth import get_user_model
Metadata
Release files for django-custom-auth 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-custom-auth-0.1.3.tar.gz | 8.6 kB | Details |
Release files / django-custom-auth-0.1.3.tar.gz
| Download URL | django-custom-auth-0.1.3.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81241c259c74d478665a8261bec366c2ce3a56f2031027addc819d38be543916
|
|
BLAKE2b-256 checksum How to use checksums |
1c9e84ef5c2af56c26c80c385c2d98a9ad02b6b6e7fa5d3198d40525c8d4ce32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |