er, better debugging even

This commit is contained in:
Sanj 2011-09-10 08:21:58 +05:30
parent d9ce46d0c0
commit 7f785f3ff8

View File

@ -82,7 +82,7 @@ class ItfModel(models.Model):
def insidepage_dict(self):
if not exists(self.get_template_path()):
html = "Template not found."
html = "Template not found at: " + self.get_template_path()
else:
try:
html = render_to_string(self.get_template_path(), self.info_dict())