0

Is there anyway to add the functionality of Datatables to the django admin interface. I'm using Django + Mezzanine and for my project we need the ability to sort by every column, have pagination, search, etc.

Matt Camilli
  • 664
  • 5
  • 8

1 Answers1

2

Yes.

The simplest implementation without server-side pagination would be overriding change_list.html for the model in order to:

  • print the table in {% block result_list %}
  • initialize datatable in {% block extrahead %}
  • import css in {% block extrastyle %}
Pawel Furmaniak
  • 4,648
  • 3
  • 29
  • 33