}

Articles tagged "drf"

14 min readIntermediate

Django REST Framework Tutorial 2026: JWT Auth, Permissions, Filtering, and Tests

Django REST Framework tutorial 2026: build a production API with JWT authentication (SimpleJWT), object-level permissions, DjangoFilterBackend filtering, pagination, and pytest-django tests.

4 min readBeginner

Fix: AttributeError - Token Has No Attribute 'objects' [Django REST Framework]

Fix "AttributeError: type object 'Token' has no attribute 'objects'" in Django REST Framework. Add rest_framework.authtoken to INSTALLED_APPS.