A custom user model app for Django 1.8+ that features email as username and other things. It tries to stay true to the built-in user model for the most part.
The main differences between authtools's User and django.contrib.auth's are email as username and class-based auth views.
Read the django-authtools documentation.
Before you use this, you should probably read the documentation about custom User models.
Install the package:
- Add
authtools
to yourINSTALLED_APPS
. Add the following to your settings.py:
Add
authtools.urls
to your URL patterns:- Enjoy.