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 %} {% load cms_tags %}
{% if instance.heading %} {% if instance.heading %}
<div class="{% if not instance.plain_heading %}split-title{% else %}split-title-plain{% endif %}"> <div class="{% if not instance.plain_heading %}split-title{% else %}split-title-plain{% endif %}">
<h2>{{ instance.heading }}</h2> <h2>{{ instance.heading }}</h2>

View file

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