Author: adrian
Date: 2006-09-04 18:49:14 -0500 (Mon, 04 Sep 2006)
New Revision: 3718
Modified:
django/trunk/django/views/debug.py
django/trunk/django/views/static.py
Log:
Changed template names from [3707] to remove initial caps, to fit our style.
Modified: django/trunk/django/views/debug.py
===================================================================
--- django/trunk/django/views/debug.py 2006-09-04 23:40:28 UTC (rev 3717)
+++ django/trunk/django/views/debug.py 2006-09-04 23:49:14 UTC (rev 3718)
@@ -115,7 +115,7 @@
'function': '?',
'lineno': '?',
}]
- t = Template(TECHNICAL_500_TEMPLATE, name='Technical 500 Template')
+ t = Template(TECHNICAL_500_TEMPLATE, name='Technical 500 template')
c = Context({
'exception_type': exc_type.__name__,
'exception_value': exc_value,
@@ -141,7 +141,7 @@
# tried exists but is an empty list. The URLconf must've been
empty.
return empty_urlconf(request)
- t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 Template')
+ t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 template')
c = Context({
'root_urlconf': settings.ROOT_URLCONF,
'urlpatterns': tried,
@@ -154,7 +154,7 @@
def empty_urlconf(request):
"Create an empty URLconf 404 error response."
- t = Template(EMPTY_URLCONF_TEMPLATE, name='Empty URLConf Template')
+ t = Template(EMPTY_URLCONF_TEMPLATE, name='Empty URLConf template')
c = Context({
'project_name': settings.SETTINGS_MODULE.split('.')[0]
})
Modified: django/trunk/django/views/static.py
===================================================================
--- django/trunk/django/views/static.py 2006-09-04 23:40:28 UTC (rev 3717)
+++ django/trunk/django/views/static.py 2006-09-04 23:49:14 UTC (rev 3718)
@@ -81,7 +81,7 @@
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, name='Default directory
index template')
files = []
for f in os.listdir(fullpath):
if not f.startswith('.'):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---