This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
Go to file
Aamir Adnan 31f2b205d3 Take care of custom USERNAME_FIELD on Custom User Model
Django allows to define custom username field through [USERNAME_FIELD](https://docs.djangoproject.com/en/1.9/topics/auth/customizing/#django.contrib.auth.models.CustomUser.USERNAME_FIELD) on custom user model. In that case there will be no `username` field so it is wrong to assume that the username field will always be present. Simplified the `vaidate` as it is safe to use `authenticate` function from `django.contrib.auth` because it takes care of `AUTHENTICATION_BACKENDS` listed in settings. And if `allauth` is in `INSTALLED_APPS` then `allauth.account.auth_backends.AuthenticationBackend` will be there as well.
2016-01-15 05:37:53 +05:00
demo closes PR #134 and adds same syntax to demo 2016-01-04 16:29:47 -08:00
docs Added FAQ issue. 2016-01-14 22:36:58 +01:00
rest_auth Take care of custom USERNAME_FIELD on Custom User Model 2016-01-15 05:37:53 +05:00
.gitignore Added coverage_html to .gitignore 2015-12-22 09:27:17 +01:00
.travis.yml Fixed reqs path for travis 2015-12-04 09:43:17 +01:00
AUTHORS Created AUTHORS, MANIFEST.in, and setup.py. 2014-04-30 13:55:04 -07:00
flake8 adding static code analysis 2015-04-28 10:04:20 +02:00
LICENSE Initial commit 2014-04-30 12:50:41 -07:00
MANIFEST.in Created AUTHORS, MANIFEST.in, and setup.py. 2014-04-30 13:55:04 -07:00
README.rst version 0.6.0 2015-11-24 08:40:41 +01:00
runtests.py Reorganized test files 2015-12-04 09:32:03 +01:00
setup.py #86: Add missing dependencies to setup.py 2016-01-04 10:29:50 -04:00

Welcome to django-rest-auth
===========================

.. image:: https://travis-ci.org/Tivix/django-rest-auth.png
    :target: https://travis-ci.org/Tivix/django-rest-auth


.. image:: https://coveralls.io/repos/Tivix/django-rest-auth/badge.png
    :target: https://coveralls.io/r/Tivix/django-rest-auth?branch=master


.. image:: https://readthedocs.org/projects/django-rest-auth/badge/?version=latest
    :target: https://readthedocs.org/projects/django-rest-auth/?badge=latest


Django-rest-auth provides a set of REST API endpoints for Authentication and Registration


Documentation
-------------
http://django-rest-auth.readthedocs.org/en/latest/


Source code
-----------
https://github.com/Tivix/django-rest-auth


Stack Overflow
-----------
http://stackoverflow.com/questions/tagged/django-rest-auth