Fix problem with nomcom RST templates not being rendered under Django 1.6.

- Legacy-Id: 7219
This commit is contained in:
Henrik Levkowetz 2014-02-09 17:33:39 +00:00
parent 690c36cd8a
commit 3c611cd5ba

View file

@ -65,7 +65,7 @@ class Loader(BaseLoader):
super(Loader, self).__init__(self, *args, **kwargs)
self.is_usable = True
def load_template_source(self, template_name, template_dirs=None):
def load_template(self, template_name, template_dirs=None):
try:
template = DBTemplate.objects.get(path=template_name)
if template.type.slug == 'rst':