Django-rest-auth provides a set of REST API endpoints for authentication and registration in Django projects using Django REST Framework. Version 0.9.5 is the latest release, but the library is in maintenance mode with no active development; it is superseded by dj-rest-auth.
pip install django-rest-auth==0.9.5Verified import paths — ran on the pinned version, not inferred.
Minimal setup to add REST auth endpoints.
Replace django-rest-auth with dj-rest-auth and update import paths (from rest_auth to dj_rest_auth).
Add on_delete=models.CASCADE to any custom models or use dj-rest-auth which has updated support.
Use rest_auth.urls or include rest_auth.social_urls and set up social apps in Django admin.
Use dj-rest-auth with djangorestframework-simplejwt instead.