Changeset 21360c8 for remit/urls.py
- Timestamp:
- Jun 15, 2014, 9:42:51 PM (12 years ago)
- Branches:
- master
- Children:
- 2e4e1fb
- Parents:
- f298bd7
- git-author:
- Alex Dehnert <adehnert@…> (06/15/14 17:59:25)
- git-committer:
- Alex Dehnert <adehnert@…> (06/15/14 21:42:51)
- File:
-
- 1 edited
-
remit/urls.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
remit/urls.py
rff623c3 r21360c8 6 6 # Necessary views 7 7 import finance_core.views 8 from util.shortcuts import TemplateViewWithContext 8 9 9 10 # Uncomment the next two lines to enable the admin: … … 13 14 urlpatterns = patterns('', 14 15 # Example: 15 (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html', 'extra_context': { 'pagename':'homepage' }, },'homepage'),16 url(r'^$', TemplateViewWithContext.as_view(template_name='index.html', extra_context={ 'pagename':'homepage' }), name='homepage'), 16 17 (r'^vouchers/', include('vouchers.urls')), 17 18 (r'^finance_core/', include('finance_core.urls')),
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/your_project_logo.png)