This commit is contained in:
Michael Kutý 2015-04-28 01:00:24 +02:00
parent c2d49e1d71
commit 50a877a7d5

View file

@ -50,7 +50,7 @@ def get_template_source(name):
pass
else:
from django.template.loader import get_template
template = get_template('base/page/adminlte.html')
template = get_template(name)
with open(str(template.origin)) as source_file:
source = source_file.read()
return source