diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-11-15 18:35:53 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-11-16 21:28:31 +0100 |
| commit | c211c59b4a9ef66152eee0109107f22a9bd1a22f (patch) | |
| tree | 57427596e75b789a95709c6ebd7332d8f00b989d | |
| parent | 2577ae6a082e8a6abc964f999757e908257eafc1 (diff) | |
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.
| -rw-r--r-- | django/template/loaders/locmem.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/template/loaders/locmem.py b/django/template/loaders/locmem.py index 6cb1c599c6..e61db5f15d 100644 --- a/django/template/loaders/locmem.py +++ b/django/template/loaders/locmem.py @@ -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) |
