djangorestframework-datatables
Seamless integration between Django REST framework and Datatables (https://datatables.net)
Decision gist · record as of 2026-08-14
Yes. This package solves a specific, common problem—integrating Datatables with Django REST Framework—with low install friction, active maintenance, no known vulnerabilities, and a permissive license. It's production-stable (Development Status 5) and widely used (top 15000 PyPI packages). Install it if you need server-side Datatables support for a DRF project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django (3.2, 4.1, 4.2, 5.0, 5.1) and Django REST Framework (3.14) to be installed and configured.
- Low friction: pure Python wheel with a single runtime dependency (djangorestframework).
- Actively maintained with recent releases; last commit 2026-06-24 and version 0.7.2 released 2024-06-14 with Django 5.0/5.1 support.
License · maintenance · safety
MIT (permissive) — MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2024-06-14 (791 days) · last repo commit 2026-06-24 · 398 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 218,560 downloads/mo, #9,339 on PyPI
Alternatives
Verify before relying
pip install djangorestframework-datatables
# In Django settings.py, add to INSTALLED_APPS:
# 'rest_framework_datatables'
# Configure REST_FRAMEWORK with DatatablesRenderer, DatatablesFilterBackend, and DatatablesPageNumberPagination
# Call your API with ?format=datatables to get Datatables-compatible JSON- Whether the package works with Django REST Framework versions other than 3.14, or if 3.14 is the only supported version.
- Performance characteristics when handling large result sets or complex nested serializers.
- Compatibility with custom Datatables client-side plugins beyond the documented YADCF example.
What it is and what it does
This package bridges Django REST Framework and the Datatables JavaScript library by providing a custom renderer and filter backend that translate Datatables' server-side request format into DRF-compatible queries. When you add the DatatablesRenderer to your REST_FRAMEWORK settings and call your existing API with `?format=datatables`, it returns JSON structured exactly as Datatables expects, handling search terms, column filters, sort order, and pagination automatically.
Your API remains unchanged and fully functional for non-Datatables clients—the Datatables format is opt-in via the query parameter. The package handles field serialization, nested relationships, and provides configuration options like `datatables_always_serialize` to control which fields appear in the response regardless of client requests.
Use it for
- Render Django model data in an interactive HTML table with server-side search, sort, and pagination without writing a separate API.
- Add Datatables UI to an existing Django REST Framework API by enabling the format parameter on current viewsets.
- Filter and display related model fields (e.g., artist.name) in a Datatables column with automatic ORM query handling.
- Support POST requests from Datatables clients while keeping the same API endpoint for GET requests.
- Optimize large dataset display by offloading pagination and filtering to the server instead of loading all rows client-side.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This package solves a specific, common problem—integrating Datatables with Django REST Framework—with low install friction, active maintenance, no known vulnerabilities, and a permissive license. It's production-stable (Development Status 5) and widely used (top 15000 PyPI packages). Install it if you need server-side Datatables support for a DRF project.
Install
djangorestframework-datatables on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (djangorestframework). Actively maintained with recent releases; last commit 2026-06-24 and version 0.7.2 released 2024-06-14 with Django 5.0/5.1 support.
Requires Django (3.2, 4.1, 4.2, 5.0, 5.1) and Django REST Framework (3.14) to be installed and configured.
License in practice
MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install djangorestframework-datatables
# In Django settings.py, add to INSTALLED_APPS:
# 'rest_framework_datatables'
# Configure REST_FRAMEWORK with DatatablesRenderer, DatatablesFilterBackend, and DatatablesPageNumberPagination
# Call your API with ?format=datatables to get Datatables-compatible JSON
Verify before relying
- Whether the package works with Django REST Framework versions other than 3.14, or if 3.14 is the only supported version.
- Performance characteristics when handling large result sets or complex nested serializers.
- Compatibility with custom Datatables client-side plugins beyond the documented YADCF example.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjangorestframework |
| Maintenance | Actively maintained 791 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 218,560 / month, #9,339 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.1Framework :: Django :: 4.2Framework :: Django :: 5.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP |
Evidence: djangorestframework_datatables-0.7.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django rest framework datatables”
- djangorestframework-datatablesAdds server-side Datatables support to Django REST Framework APIs,…
- django-datatables-viewProvides a Django view base class that handles server-side processing…
- dj-datatables-viewProvides a Django base view for server-side DataTables processing,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also dj-datatables-view · djangorestframework-jsonapi · django-datatables-view · django-elasticsearch-dsl-drf · djangorestframework-filters · django-filter · django-cursor-pagination · djangorestframework · djangorestframework-csv · djangorestframework-yaml