Changeset 140fc9e


Ignore:
Timestamp:
May 30, 2010, 1:04:18 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, space-access, stable, stage, test-hooks
Children:
653a0e8
Parents:
d67c1c1
git-author:
Alex Dehnert <adehnert@…> (05/30/10 01:04:18)
git-committer:
Alex Dehnert <adehnert@…> (05/30/10 01:04:18)
Message:

Add group list

Location:
asadb
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/urls.py

    rfae9c8c r140fc9e  
    1010
    1111import forms.views
     12
     13import groups.models
    1214
    1315urlpatterns = patterns('',
     
    3335    url(r'^fysm/(?:(\d+)/)?(?:([\w-]+)/)?$', forms.views.fysm_by_years, name='fysm', ),
    3436
     37    # Group list
     38    url(
     39        r'^groups/$',
     40        list_detail.object_list,
     41        {
     42            'queryset': groups.models.Group.objects.all(),
     43            'template_object_name': 'group',
     44        },
     45        name='group-list',
     46    ),
     47
    3548    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
    3649    # to INSTALLED_APPS to enable admin documentation:
Note: See TracChangeset for help on using the changeset viewer.