We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae667c8 commit 01d49cdCopy full SHA for 01d49cd
templated_docs/__init__.py
@@ -70,7 +70,7 @@ def find_template_file(template_name):
70
load a template in memory, because we'll deal with it ourselves.
71
"""
72
for loader in _get_template_loaders():
73
- for origin in loader.get_template_sources(template_name, None):
+ for origin in loader.get_template_sources(template_name):
74
path = getattr(origin, 'name', origin) # Django <1.9 compatibility
75
if os.path.exists(path):
76
return path
0 commit comments