Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TemplateNotFound description #36

@Harut

Description

@Harut
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions