remove template tag

This commit is contained in:
Arvind Tiwari 2018-03-23 01:07:53 +05:30
parent ef1f19d698
commit 5e8f21c8e3
2 changed files with 1 additions and 7 deletions

View file

@ -1,6 +1,5 @@
{% load cms_tags %}
{% if instance.heading %}
<div class="{% if not instance.plain_heading %}split-title{% else %}split-title-plain{% endif %}">
<h2>{{ instance.heading }}</h2>

View file

@ -42,8 +42,3 @@ def multiply(value, arg):
:return:
"""
return value*arg
@register.filter('instance_class')
def instance_class(obj):
return obj.__class__.__name__