fix self in classmethod

This commit is contained in:
bkfox 2017-08-21 14:58:27 +02:00
parent 43ec06ce90
commit 4e97aaf596

View File

@ -28,8 +28,7 @@ class TemplateMixin(models.Model):
get_template(cl.template_name)
except TemplateDoesNotExist:
cl.template = 'aircox_cms/sections/section_item.html'
return self.template_name
return cl.template_name
def get_context(self, request, page):
"""