mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #15053 -- Enabled recursive template loading.
This commit is contained in:
@@ -55,7 +55,7 @@ class LoaderTests(SimpleTestCase):
|
||||
def test_origin(self):
|
||||
engine = Engine(dirs=[TEMPLATE_DIR], debug=True)
|
||||
template = engine.get_template('index.html')
|
||||
self.assertEqual(template.origin.loadname, 'index.html')
|
||||
self.assertEqual(template.origin.template_name, 'index.html')
|
||||
|
||||
def test_loader_priority(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user