Commits

Denis Darii committed eca6cdf

fixed admintools crash in custom views

Comments (0)

Files changed (1)

admintools_bootstrap/templates/admin/change_list.html

   {% endif %}
 {% endblock %}
 
-{% block search %}{% search_form cl %}{% endblock %}
+{% block search %}{% if cl %}{% search_form cl %}{% endif %}{% endblock %}
 
 {% block messages %}
   {{ block.super }}