diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-11-27 21:39:33 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 16:23:01 +0100 |
| commit | 5523e4cdbb786c396c103cfab369fc2ef8d6c52a (patch) | |
| tree | 9efe63f1c5fd9cb4002879c868e4c52d1e9e46cd /django/template/loader.py | |
| parent | 4ea43ac915e187fb0c283094504f488d5017d7ec (diff) | |
Removed private API find_template.
It wasn't documented and it wasn't used anywhere, except in a few tests
that don't test it specifically and can be rewritten with get_template.
Diffstat (limited to 'django/template/loader.py')
| -rw-r--r-- | django/template/loader.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/django/template/loader.py b/django/template/loader.py index b76fbdcfb9..f27494dfb1 100644 --- a/django/template/loader.py +++ b/django/template/loader.py @@ -17,10 +17,6 @@ class LoaderOrigin(Origin): return self.loader(self.loadname, self.dirs)[0] -def find_template(*args, **kwargs): - return Engine.get_default().find_template(*args, **kwargs) - - def get_template(template_name, dirs=_dirs_undefined, using=None): """ Loads and returns a template for the given name. |
