{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Provides a Django base view for server-side DataTables processing, handling sorting, filtering, and JSON output generation for DataTables 1.9, 1.10, and 1.11.","skillfed_tags":["django-integration","datatables-backend"],"use_cases":["Build a server-side paginated table in Django that filters and sorts large datasets without loading all records into the browser.","Integrate DataTables into an existing Django view with minimal boilerplate by inheriting BaseDatatableView.","Render custom HTML or formatted values in table cells by overriding render_column while keeping sorting and filtering automatic.","Protect your site from abuse by enforcing a max_display_length limit on records returned per request."],"what_it_does":"dj-datatables-view is a Django view base class that bridges your Django models and the DataTables JavaScript library for server-side table rendering. It handles the request/response cycle that DataTables expects: parsing sort and filter parameters from the client, applying them to your queryset, and returning paginated JSON. You subclass BaseDatatableView, define your model and columns, and optionally override methods like filter_queryset and render_column to customize behavior.\n\nThe package simplifies what would otherwise be boilerplate\u2014converting Django querysets into the exact JSON format DataTables expects, respecting the library's sorting and filtering protocol, and managing pagination limits. It works with Django 2, 3, and 4 and supports Python 3.5 through 3.10, though it has not been maintained since early 2022.","worth_installing":"Yes, if you are actively using DataTables 1.9\u20131.11 with Django 2\u20134 and do not need ongoing maintenance. The package is stable and has no known vulnerabilities, but it is abandoned and will not receive updates for newer Django or DataTables versions. Consider it only for legacy projects or as a reference implementation; for new projects, evaluate whether a modern table library or a fresh DataTables integration is more appropriate."},"id":"dj-datatables-view","links":{"html":"https://skillfed.io/packages/dj-datatables-view","md":"https://skillfed.io/packages/dj-datatables-view.md","pypi":"https://pypi.org/project/dj-datatables-view/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-02-24","license_spdx":null,"license_treatment":"permissive","name":"dj-datatables-view","python_support":"supports_current","summary":"Django datatables view fork from django-datatables-view"},"popularity":{"monthly_downloads":238158,"position":8945,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.8"}
