Template improvements

* refactors templates/table.html into templates/generic_index.html
* adds DummyFilterInput as do-not-render-widget
* hardens combination of q filter and other filters on index view rendering
This commit is contained in:
mipel
2021-07-28 09:53:14 +02:00
parent af6e3e6223
commit 3eb594c1b5
5 changed files with 115 additions and 94 deletions

View File

@@ -0,0 +1,5 @@
{% comment %}
This is an empty template.
It's used to dismiss a default widget for a django_filter filter and to use a predefined input directly in the
template without losing the comfort of matching the filter methods declared in the filter
{% endcomment %}