{"id":21145,"library":"django-datatables-view","title":"django-datatables-view","description":"A Django library that provides server-side processing for DataTables jQuery plugin with minimal configuration. Version 1.20.0 supports Django 5.0, last updated in 2023. Release cadence is sporadic.","status":"active","version":"1.20.0","language":"python","source_language":"en","source_url":"https://github.com/piontas/django-datatables-view","tags":["django","datatables","server-side","jquery-plugin"],"install":[{"cmd":"pip install django-datatables-view","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required runtime dependency, version >=2.2","package":"django","optional":false}],"imports":[{"wrong":"from django_datatables_view import DatatableView","symbol":"DatatableView","correct":"from django_datatables_view import DatatableView"}],"quickstart":{"code":"# views.py\nfrom datatableview.views import DatatableView\nfrom .models import MyModel\n\nclass MyModelDatatableView(DatatableView):\n    model = MyModel\n    columns = ['id', 'name', 'created_at']\n\n# urls.py\nfrom django.urls import path\nfrom .views import MyModelDatatableView\n\nurlpatterns = [\n    path('datatable/', MyModelDatatableView.as_view(), name='datatable'),\n]","lang":"python","description":"Minimal setup: define a view subclass, specify model and columns, then wire URL."},"warnings":[{"fix":"Update imports: from datatableview.views import DatatableView","message":"In version 1.10.0, the import path changed from 'datatables_view' to 'datatableview.views'. Old imports will break.","severity":"breaking","affected_versions":"<1.10.0"},{"fix":"Use 'columns' instead of 'display_fields' in your view.","message":"The 'display_fields' attribute is deprecated in favor of 'columns'. 'display_fields' may be removed in future.","severity":"deprecated","affected_versions":">=1.15.0"},{"fix":"Use 'column_defs' dict in view to map DataTables column indices to model fields.","message":"The library expects the URL's GET parameters to match DataTables' built-in parameters exactly. If you use a custom column name, you must map it via 'column_defs'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.20.0':22 '2023':29 '5.0':25 'cadenc':31 'configur':20 'datat':3,15,35 'django':2,6,24,34 'django-datatables-view':1 'jqueri':16,40 'jquery-plugin':39 'last':26 'librari':7 'minim':19 'plugin':17,41 'process':13 'provid':9 'releas':30 'server':11,37 'server-sid':10,36 'side':12,38 'sporad':33 'support':23 'updat':27 'version':21 'view':4","created_at":"2026-04-27T16:58:19.866738+00:00","updated_at":"2026-04-27T16:58:19.866738+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'DatatableView' from 'django_datatables_view' (/tmp/tmp5ghpyivm/venv/lib/python3.12/site-packages/django_datatables_view/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.20.0","cli_name":"","cli_version":null,"type":"library","homepage":"https://bitbucket.org/pigletto/django-datatables-view","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/django-datatables-view/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}