summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-11-28 22:28:57 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-12-28 16:23:01 +0100
commitf50a09f2cdb268e33645a19060daefebf8c4072d (patch)
treef0ad39b61a1c24a81acbf9dd13ca456d8478f6a0 /django/template
parent5523e4cdbb786c396c103cfab369fc2ef8d6c52a (diff)
Removed private API get_template_from_string.
It wasn't documented and it wasn't used anywhere.
Diffstat (limited to 'django/template')
-rw-r--r--django/template/loader.py4
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)