.. image:: https://travis-ci.org/fusionbox/django-authtools.png :target: http://travis-ci.org/fusionbox/django-authtools :alt: Build Status
A custom user model app for Django 1.5+ 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.
django-authtools documentation <https://django-authtools.readthedocs.org/en/latest/>_.
Before you use this, you should probably read the documentation about
custom User models <https://docs.djangoproject.com/en/dev/topics/auth/customizing/#substituting-a-custom-user-model>_.
Install the package::
$ pip install django-authtools
Add the following to your settings.py::
AUTH_USER_MODEL = 'authtools.User'
authtools.urlsto your URL patterns::
urlpatterns = patterns('', # ... url(r'^accounts/', include('authtools.urls')), # ... )