1
0
mirror of https://github.com/django/django.git synced 2025-10-29 00:26:07 +00:00

Reverted [3659], the 'name' field on Template objects and the signal emitted whenever a template is rendered. Refs #2333.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-08-27 18:10:32 +00:00
parent 97b9ad73b4
commit 2c2653db9f
7 changed files with 10 additions and 17 deletions

View File

@@ -81,7 +81,7 @@ def directory_index(path, fullpath):
try:
t = loader.get_template('static/directory_index')
except TemplateDoesNotExist:
t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default Directory Index Template')
t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE)
files = []
for f in os.listdir(fullpath):
if not f.startswith('.'):