Removed the "test:" prefix from locmem template identifiers.
Since it isn't branded as a test utility any more and could be used for other purposes than test code, that prefix no longer makes sense. It wasn't used anywhere either.
This commit is contained in:
parent
2577ae6a08
commit
c211c59b4a
|
@ -16,7 +16,6 @@ class Loader(BaseLoader):
|
|||
def load_template_source(self, template_name, template_dirs=None,
|
||||
skip_template=None):
|
||||
try:
|
||||
return (self.templates_dict[template_name],
|
||||
"test:%s" % template_name)
|
||||
return self.templates_dict[template_name], template_name
|
||||
except KeyError:
|
||||
raise TemplateDoesNotExist(template_name)
|
||||
|
|
Loading…
Reference in New Issue