summaryrefslogtreecommitdiff
path: root/django/views/static.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2006-09-02 09:26:24 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2006-09-02 09:26:24 +0000
commitd043200077244cfcc2b204dbb173d5d494d16f60 (patch)
tree821d6cb84d88f9d77b10fa75a0b68e6997891296 /django/views/static.py
parentd78e2ae3557feb1c9374cc56f6c130b13a7ef789 (diff)
Refs #2333 - Re-added the template rendering signal for testing purposes; however, the signal is not available during normal operation. It is only added as part of an instrumentation step that occurs during test framework setup. Previous attempt (r3659) was reverted (r3666) due to performance concerns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/views/static.py')
-rw-r--r--django/views/static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/static.py b/django/views/static.py
index ac323944d0..a8c8328014 100644
--- a/django/views/static.py
+++ b/django/views/static.py
@@ -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)
+ t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default Directory Index Template')
files = []
for f in os.listdir(fullpath):
if not f.startswith('.'):