From fe5211cd4130700baf112ca8d246f970afa154b5 Mon Sep 17 00:00:00 2001 From: bkfox Date: Mon, 21 Aug 2017 16:06:12 +0200 Subject: [PATCH] nc --- aircox_cms/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aircox_cms/template.py b/aircox_cms/template.py index 5282085..89f69b1 100644 --- a/aircox_cms/template.py +++ b/aircox_cms/template.py @@ -25,7 +25,7 @@ class TemplateMixin(models.Model): cl._meta.app_label, cl.snake_name ) - if snake_name != 'section_item': + if cl.snake_name != 'section_item': from django.template import TemplateDoesNotExist try: from django.template.loader import get_template