From 5e8f21c8e3d6724bc027163151c4395e32434e75 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Fri, 23 Mar 2018 01:07:53 +0530 Subject: [PATCH] remove template tag --- .../cms/includes/_section_split_content.html | 1 - datacenterlight/templatetags/custom_tags.py | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/datacenterlight/templates/datacenterlight/cms/includes/_section_split_content.html b/datacenterlight/templates/datacenterlight/cms/includes/_section_split_content.html index a5a5119c..9323b52f 100644 --- a/datacenterlight/templates/datacenterlight/cms/includes/_section_split_content.html +++ b/datacenterlight/templates/datacenterlight/cms/includes/_section_split_content.html @@ -1,6 +1,5 @@ {% load cms_tags %} - {% if instance.heading %}

{{ instance.heading }}

diff --git a/datacenterlight/templatetags/custom_tags.py b/datacenterlight/templatetags/custom_tags.py index 2ff32bf1..908b1f89 100644 --- a/datacenterlight/templatetags/custom_tags.py +++ b/datacenterlight/templatetags/custom_tags.py @@ -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