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

@ -41,9 +41,4 @@ def multiply(value, arg):
:param arg:
:return:
"""
return value * arg
@register.filter('instance_class')
def instance_class(obj):
return obj.__class__.__name__
return value*arg