Django

Code

Changeset 3718

Show
Ignore:
Timestamp:
09/04/06 18:49:14 (2 years ago)
Author:
adrian
Message:

Changed template names from [3707] to remove initial caps, to fit our style.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/debug.py

    r3707 r3718  
    116116            'lineno': '?', 
    117117        }] 
    118     t = Template(TECHNICAL_500_TEMPLATE, name='Technical 500 Template') 
     118    t = Template(TECHNICAL_500_TEMPLATE, name='Technical 500 template') 
    119119    c = Context({ 
    120120        'exception_type': exc_type.__name__, 
     
    142142            return empty_urlconf(request) 
    143143 
    144     t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 Template') 
     144    t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 template') 
    145145    c = Context({ 
    146146        'root_urlconf': settings.ROOT_URLCONF, 
     
    155155def empty_urlconf(request): 
    156156    "Create an empty URLconf 404 error response." 
    157     t = Template(EMPTY_URLCONF_TEMPLATE, name='Empty URLConf Template') 
     157    t = Template(EMPTY_URLCONF_TEMPLATE, name='Empty URLConf template') 
    158158    c = Context({ 
    159159        'project_name': settings.SETTINGS_MODULE.split('.')[0] 
  • django/trunk/django/views/static.py

    r3707 r3718  
    8282        t = loader.get_template('static/directory_index') 
    8383    except TemplateDoesNotExist: 
    84         t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default Directory Index Template') 
     84        t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default directory index template') 
    8585    files = [] 
    8686    for f in os.listdir(fullpath):