1. Luke Plant
  2. django-easyfilters


Daniele Procida  committed ad330ac

#7 Provide template in a file as well as an attribute on FilterSet

  • Participants
  • Parent commits 09afcc5
  • Branches default

Comments (0)

Files changed (2)

File django_easyfilters/filterset.py

View file
 from django import template
 from django.template.loader import get_template
 from django.utils.safestring import mark_safe
 from django.utils.html import escape
 from django.utils.text import capfirst

File docs/filterset.rst

View file
       The path to a file containing a Django template, used to render all the
       filters. It is used by the default ``get_template`` method, see above. By
       default, "django-easyfilters/default.html" is used. If the ``template``
-      attribute is provided, ``template_file`` will be ignored.
+      attribute (below) is provided, ``template_file`` will be ignored.
    .. attribute:: template