django-rest-framework-auth

django authentication meets rest framework


Keywords
django, rest, auth, rest-framework, authentication, api
License
MIT
Install
pip install django-rest-framework-auth==1.0.0

Documentation

django-rest-framework-auth

https://api.travis-ci.com/lordpeara/django-rest-framework-auth.svg?branch=stable https://readthedocs.org/projects/django-rest-framework-auth/badge/?version=stable

django-rest-framework-auth is a django & rest_framework application for providing REST-APIs for authentication w/ very simple instructions.

Quickstart

  1. install packages
$ pip install django-rest-framework-auth
$ django-admin startproject proj
$ vi proj/proj/settings.py
  1. add AppConfig and urls to project
# settings.py
# ...
INSTALLED_APPS = (
    # ...
    'rest_auth',
    'rest_framework',
    # ...
)

# urls.py
# ...
urlpatterns += [
    url(r'^auth/', 'rest_auth.urls', name='auth'),
]

Documentation

See Documentation