Skip to main content

Automated API registration for Django Rest Framework

Project description

🚀 Django Auto DRF

Automated API registration for Django Rest Framework.

Django Auto DRF automatically registers ViewSets, Serializers, and Filters for your Django models so you can skip boilerplate and focus on your logic.

Docs · Getting started · Configuration · Versioning · TS generator · API Reference · FAQ


Quick install

pip install django-auto-drf

Minimal setup (urls.py):

from django.urls import include, path
from django_auto_drf.urls import get_urlpatterns

urlpatterns = [
    path('', include(get_urlpatterns())),
]

Compatibility

Python Django DRF
3.10+ 4.2+ 3.14+

Why

  • Save time: automatic endpoints per model
  • Stay flexible: override serializers, viewsets, filters, permissions, pagination
  • Great DX: automatic OpenAPI docs; optional numeric API versioning

More

Optional: Notes about schema endpoints and auth
  • Schema endpoints (Swagger/Redoc) can be disabled via DJANGO_AUTO_DRF_DISABLE_SCHEMA_GENERATION.
  • Auth endpoints are provided unversioned at /api/auth/login|logout|me/.

For full examples and advanced usage, see the documentation:

  • Getting started: ./docs/getting-started.md
  • API Reference: ./docs/api-reference.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_auto_drf-0.6.8.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_auto_drf-0.6.8-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

Details for the file django_auto_drf-0.6.8.tar.gz.

File metadata

  • Download URL: django_auto_drf-0.6.8.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_auto_drf-0.6.8.tar.gz
Algorithm Hash digest
SHA256 3d0de48ea2df27e57361ee32c8aa7ccd53c39b26be8be236b49017ce6a69406a
MD5 78619aa6521cd1cf660e6704084f61f8
BLAKE2b-256 ad7a0a07572d3c9cd4fe62d1a8d68ec36b9ba8925f58fd432fd422e615ad0483

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_auto_drf-0.6.8.tar.gz:

Publisher: workflow.yml on wolfmc3/django-auto-drf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_auto_drf-0.6.8-py3-none-any.whl.

File metadata

File hashes

Hashes for django_auto_drf-0.6.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f08f6d8a7198127635f28f7b0f8dbcf357b454f97b60d1b9ff8f9e5466bdad20
MD5 fa9b513be3dcb8fbc6a7e397366b1cfe
BLAKE2b-256 53db5fe78cdf10a68d181cce9f99185f1f94a58f881f6a3e1d19efc91c99655b

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_auto_drf-0.6.8-py3-none-any.whl:

Publisher: workflow.yml on wolfmc3/django-auto-drf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page