mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Removed unnecessary load_template_source() function in django/core/template/loader.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6a36699818
commit
8c3b41c3e9
@ -65,9 +65,6 @@ def find_template_source(name, dirs=None):
|
||||
pass
|
||||
raise TemplateDoesNotExist, name
|
||||
|
||||
def load_template_source(name, dirs=None):
|
||||
find_template_source(name, dirs)[0]
|
||||
|
||||
def get_template(template_name):
|
||||
"""
|
||||
Returns a compiled Template object for the given template name,
|
||||
|
Loading…
Reference in New Issue
Block a user