mirror of
https://github.com/django/django.git
synced 2025-10-28 08:06:09 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user