django-rest-auth
Create a set of REST API endpoints for Authentication and Registration
What it is and what it does
django-rest-auth is a Django package that exposes user authentication and registration as REST API endpoints, designed to work alongside Django REST Framework. It abstracts common auth workflows—login, logout, password reset, user registration—into HTTP endpoints rather than requiring you to build them yourself.
The package has been largely dormant since 2019, with minimal recent activity despite having 2417 GitHub stars. It carries high install friction, likely due to unspecified Python version support and potential dependency conflicts with newer Django releases. No runtime dependencies are declared, but it implicitly requires Django and Django REST Framework to function.
Use it for:
- Building a REST API for a single-page application that needs standard login and registration endpoints.
- Adding token-based authentication to an existing Django REST Framework project without writing custom views.
- Providing password reset and user management endpoints for a mobile app backend.
- Rapid prototyping of an authenticated API when you want to skip boilerplate auth code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides REST API endpoints for user authentication and registration in Django applications, integrating with Django REST Framework.
No. The package is dormant (last release April 2019, last commit March 2024) with unclear licensing, high install friction, and unspecified Python support. Consider it only if you are maintaining legacy code that already depends on it.
Install
django-rest-auth on PyPI
pip
pip install django-rest-authuv
uv add django-rest-authpoetry
poetry add django-rest-authInstalling django-rest-auth
Before you install
High install friction and dormant maintenance status. Last release was in April 2019 and last commit in March 2024, with no active development cycle.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in commercial or restricted contexts.
Quickstart
pip install django-rest-auth==0.9.5
In Django settings.py, add to INSTALLED_APPS:
'rest_auth',
Then include URLs:
from rest_auth.views import LoginView
urlpatterns = [path('api/auth/login/', LoginView.as_view())]
Requires Django and Django REST Framework to be installed separately; Python version support is unspecified.
Verify before relying
- Compatibility with current Django and Django REST Framework versions.
- Whether the package works with modern Python versions (requires_python is unspecified).
- Active maintenance status and whether the dormant project accepts pull requests or security patches.
Package facts
| License | not declared (unclear) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 2,692 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 120,337/month — #12,030 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django-rest-auth-0.9.5.tar.gz
Keywords: django, rest, auth, registration, rest-framework, django-registration, api
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
dj-rest-authProvides drop-in REST API endpoints for user…
permissive · top 5,000 on PyPI
django-registration-reduxProvides user registration and signup…
permissive · top 15,000 on PyPI
django-registrationProvides user registration workflows for Django…
permissive · top 15,000 on PyPI
django-allauthProvides integrated local and social…
permissive · top 5,000 on PyPI
social-auth-app-djangoIntegrates social authentication and…
permissive · top 5,000 on PyPI
github3.pyProvides a Python wrapper around the GitHub API…
permissive · top 5,000 on PyPI
djoserProvides Django REST Framework views for user…
permissive · top 15,000 on PyPI
quart-authQuart-Auth provides session-based…
permissive · top 15,000 on PyPI
django-two-factor-authAdds complete two-factor authentication to…
permissive · top 5,000 on PyPI
drf-spectacularGenerates OpenAPI 3.0.3, 3.1, and 3.2 schemas…
permissive · top 5,000 on PyPI