mint icon indicating copy to clipboard operation
mint copied to clipboard

TemplateNotFound description

Open Harut opened this issue 13 years ago • 1 comments

diff -r 94ac5c1e9f6b third-party/mint.py
--- a/third-party/mint.py       Sun Jul 22 22:38:44 2012 +0400
+++ b/third-party/mint.py       Fri Jul 27 16:19:43 2012 +0400
@@ -1466,7 +1466,7 @@
                     if self.cache:
                         self._templates_cache[template] = tmpl
                     return tmpl
-        raise TemplateNotFound(template)
+        raise TemplateNotFound("%s in %s" % (template, self.dirs))

     def __add__(self, other):
         dirs = self.dirs + other.dirs

Harut avatar Jul 27 '12 12:07 Harut

+1

riffm avatar Jul 27 '12 12:07 riffm