mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-05-05 06:04:49 +00:00
fix name
This commit is contained in:
parent
c2d49e1d71
commit
50a877a7d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue