remove template tag
This commit is contained in:
parent
ef1f19d698
commit
5e8f21c8e3
2 changed files with 1 additions and 7 deletions
|
@ -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>
|
||||||
|
|
|
@ -42,8 +42,3 @@ def multiply(value, arg):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
return value*arg
|
return value*arg
|
||||||
|
|
||||||
|
|
||||||
@register.filter('instance_class')
|
|
||||||
def instance_class(obj):
|
|
||||||
return obj.__class__.__name__
|
|
||||||
|
|
Loading…
Reference in a new issue