1
0
mirror of https://github.com/django/django.git synced 2025-10-28 08:06:09 +00:00

Removed private API get_template_from_string.

It wasn't documented and it wasn't used anywhere.
This commit is contained in:
Aymeric Augustin
2014-11-28 22:28:57 +01:00
parent 5523e4cdbb
commit f50a09f2cd
2 changed files with 3 additions and 6 deletions

View File

@@ -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)