Changeset bd72d5c for asadb/urls.py
- Timestamp:
- Sep 15, 2011, 3:34:54 PM (14 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- 5c68184
- Parents:
- ceaf3bd (diff), fbb362a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Alex Dehnert <adehnert@…> (09/15/11 15:34:54)
- git-committer:
- Alex Dehnert <adehnert@…> (09/15/11 15:34:54)
- File:
-
- 1 edited
-
asadb/urls.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/urls.py
r5b834ab rbd72d5c 9 9 import settings 10 10 11 import groups.urls 11 12 import forms.views 12 13 import groups.models14 13 15 14 urlpatterns = patterns('', 16 15 # Example: 17 16 # (r'^asadb/', include('asadb.foo.urls')), 18 url( 19 r'^$', 20 'django.views.generic.simple.direct_to_template', 21 {'template': 'index.html', 'extra_context': { 'pagename':'homepage' }, }, 22 name='homepage', 23 ), 17 url(r'^$', 'groups.views.view_homepage', name='homepage', ), 24 18 25 19 # FYSM … … 45 39 46 40 # Group list 47 url( 48 r'^groups/$', 49 list_detail.object_list, 50 { 51 'queryset': groups.models.Group.objects.all(), 52 'template_object_name': 'group', 53 'extra_context': {'pagename': 'groups', }, 54 }, 55 name='group-list', 56 ), 41 (r'^groups/', include(groups.urls.urls(), ), ), 57 42 58 43 # Uncomment the admin/doc line below and add 'django.contrib.admindocs' … … 62 47 # Uncomment the next line to enable the admin: 63 48 (r'^admin/', include(admin.site.urls)), 49 url(r'^accounts/login/password/', 'django.contrib.auth.views.login', name='login-password', ), 64 50 url(r'^accounts/login/', 'mit.scripts_login', name='login', ), 65 51 url(r'^accounts/logout/', logout, name='logout', ),
Note: See TracChangeset
for help on using the changeset viewer.