er, better debugging even
This commit is contained in:
parent
d9ce46d0c0
commit
7f785f3ff8
|
@ -82,7 +82,7 @@ class ItfModel(models.Model):
|
||||||
|
|
||||||
def insidepage_dict(self):
|
def insidepage_dict(self):
|
||||||
if not exists(self.get_template_path()):
|
if not exists(self.get_template_path()):
|
||||||
html = "Template not found."
|
html = "Template not found at: " + self.get_template_path()
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
html = render_to_string(self.get_template_path(), self.info_dict())
|
html = render_to_string(self.get_template_path(), self.info_dict())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user