Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

requirements = [
'pylokit==0.8.1',
'django>=1.8,<1.11',
'django>=1.8',
]

test_requirements = [
Expand Down
2 changes: 1 addition & 1 deletion templated_docs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def find_template_file(template_name):
load a template in memory, because we'll deal with it ourselves.
"""
for loader in _get_template_loaders():
for origin in loader.get_template_sources(template_name, None):
for origin in loader.get_template_sources(template_name):
path = getattr(origin, 'name', origin) # Django <1.9 compatibility
if os.path.exists(path):
return path
Expand Down