Changeset 6238 for exodus/urls.py
- Timestamp:
- Sep 2, 2008, 11:03:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exodus/urls.py
r6215 r6238 33 33 34 34 # views 35 (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}) ,36 (r'^nodelist/$', 'django.views.generic.list_detail.object_list', dict(node_dict, template_name='node-list.html')),35 url(r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}, "root") , 36 url(r'^nodelist/$', 'django.views.generic.list_detail.object_list', dict(node_dict, template_name='node-list.html'), "nodelist"), 37 37 (r'^(?P<slug>.+)/node/$', 'django.views.generic.list_detail.object_detail', dict(node_dict,slug_field='name',template_name='node-detail.html')), 38 38 … … 51 51 (r'^addomni/$', 'exodus.views.addomni'), 52 52 53 (r'^static/(.*)$', 'django.views.static.serve', {'document_root':54 settings.DJANGOROOT + '/exodus/static'} ),53 url(r'^static/(?P<path>.*)$$', 'django.views.static.serve', {'document_root': 54 settings.DJANGOROOT + '/exodus/static'}, "static"), 55 55 )
Note:
See TracChangeset
for help on using the changeset viewer.