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
Mahmoud Adel 597d17e6ff
Uncomment 'django.contrib.messages'
When run  'python manage.py migrate --settings=demo.settings --noinput'

I get this on console
SystemCheckError: System check identified some issues:

ERRORS:
?: (admin.E406) 'django.contrib.messages' must be in INSTALLED_APPS in order to use the admin application.

So uncomment it to solve the issue.
2020-03-12 17:22:46 +02:00
.circleci Adds coverage repo token 2020-03-06 18:04:47 -06:00
demo Uncomment 'django.contrib.messages' 2020-03-12 17:22:46 +02:00
dj_rest_auth Fix if condition in LoginSerializer 2020-03-11 15:23:22 -03:00
docs Updates Circle CI badge 2020-03-01 16:46:47 -06:00
.coveralls.yml Adds coverage repo token 2020-03-06 18:04:47 -06:00
.gitignore Update .gitignore from GH 2018-08-21 21:18:41 -07:00
AUTHORS Uses new org 2020-03-01 16:42:28 -06:00
CONTRIBUTING.md Adds contributing file 2020-03-06 17:48:57 -06:00
dev-requirements.txt Adds coveralls dep and tests 2020-03-06 18:02:05 -06:00
LICENSE Adds circle CI 2020-02-29 18:58:59 -06:00
MANIFEST.in Renames project to dj-rest-auth 2020-02-29 17:59:38 -06:00
README.md Adds coverage badge 2020-03-06 17:56:32 -06:00
runtests.py Fixes references to serializers + isort 2020-02-29 23:56:21 -06:00
setup.cfg Add wheel & metdata config 2018-08-21 21:29:15 -07:00
setup.py Adds coveralls dep and tests 2020-03-06 18:02:05 -06:00

Dj-Rest-Auth

Jazzband Coverage Status

Drop-in API endpoints for handling authentication securely in Django Rest Framework. Works especially well with SPAs (e.g React, Vue, Angular), and Mobile applications.

Requirements

  • Django 2 or 3.
  • Python 3

Quick Setup

Install package

pip install dj-rest-auth

Add dj_rest_auth app to INSTALLED_APPS in your django settings.py:

INSTALLED_APPS = (
    ...,
    'rest_framework',
    'rest_framework.authtoken',
    ...,
    'dj_rest_auth'
)

Add URL patterns

urlpatterns = [
    url(r'^dj-rest-auth/', include('dj_rest_auth.urls'))
]

Documentation

View the full documentation here: https://dj-rest-auth.readthedocs.io/en/latest/index.html

Acknowledgements

This project began as a fork of django-rest-auth. Big thanks to everyone who contributed to that repo!