An example of how to use and customise the allauth package to add basic authentication to a django app.
Note that all the user login stuff is self-contained in the customise_login app.
An example of using the django-allauth package to do a username-less simple login system.
Python