Commits

Anonymous committed ad330ac

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

Comments (0)

Files changed (2)

django_easyfilters/filterset.py

 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

docs/filterset.rst

       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