ProvenPin Install

Stacks

Django recipes

5 tested Django integration recipes with Django REST Framework, pytest-django, django-ninja, Celery. Exact pinned versions and a last-passed receipt, last run 2026-10-15.

passed3/3python

Django 6 + Django REST Framework model API with pytest-django

A DRF ModelViewSet with a serializer, router and token-free permissions, tested with pytest-django and APIClient on in-memory SQLite.

django@6.1.2djangorestframework@3.18.3pytest-django@4.14.0
last passed 2026-10-15 11:52 UTC
passed5/5python

Django Ninja API with Schema models and pagination on sqlite

A typed Django Ninja CRUD API with Schema input and output models, page-number pagination and sqlite, tested offline with the ninja TestClient and pytest-django.

django@6.1.2django-ninja@1.7.1pytest-django@4.14.0
last passed 2026-10-15 11:52 UTC
passed4/4python

Django post_save signal enqueuing a Celery task, tested with eager mode and on_commit

A post_save signal queues a Celery task only after the row commits via transaction.on_commit, then tests run offline on in-memory SQLite with Celery eager mode and pytest-django's on_commit capture.

django@6.1.2celery@5.6.3pytest-django@4.14.0
last passed 2026-10-15 11:52 UTC
passed5/5python

Django REST Framework JWT auth with simplejwt, tested offline

Obtain and refresh JWT pairs with simplejwt, add custom claims, protect a DRF view, and test expired-token rejection on sqlite in-memory with pytest-django.

django@6.1.2djangorestframework@3.18.3djangorestframework-simplejwt@5.5.1
last passed 2026-10-15 11:52 UTC
passed5/5python

DRF ModelViewSet with django-filter range, exact and ordering filters

A ModelViewSet with a django-filter FilterSet for price ranges, exact name and ordering, plus page-number pagination, configured in code and tested offline with APIClient on in-memory SQLite.

django@6.1.2djangorestframework@3.18.3django-filter@26.2.0
last passed 2026-10-15 11:52 UTC

Used together with Django

Django REST Frameworkpytest-djangodjango-ninjaCelerydjangorestframework-simplejwtdjango-filter