diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-11-28 22:28:57 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 16:23:01 +0100 |
| commit | f50a09f2cdb268e33645a19060daefebf8c4072d (patch) | |
| tree | f0ad39b61a1c24a81acbf9dd13ca456d8478f6a0 /django | |
| parent | 5523e4cdbb786c396c103cfab369fc2ef8d6c52a (diff) | |
Removed private API get_template_from_string.
It wasn't documented and it wasn't used anywhere.
Diffstat (limited to 'django')
| -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 f27494dfb1..87a9789b31 100644 --- a/django/template/loader.py +++ b/django/template/loader.py @@ -75,10 +75,6 @@ def select_template(template_name_list, dirs=_dirs_undefined, using=None): raise TemplateDoesNotExist("No template names provided") -def get_template_from_string(*args, **kwargs): - return Engine.get_default().from_string(*args, **kwargs) - - def render_to_string(*args, **kwargs): return Engine.get_default().render_to_string(*args, **kwargs) |
