summaryrefslogtreecommitdiff
path: root/isotests/urls.py
blob: fdde9e3bf8c912fd8939107c223115cffe9b41ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from django.conf.urls.defaults import patterns
from isotests.models import Test

info_dict = {
    'queryset': Test.objects.all()
}

urlpatterns = patterns('isotests.views',
    (r'^add/$', 'add_result')
)

urlpatterns += patterns('',
    (r'^$',     'django.views.generic.list_detail.object_list', info_dict)
)

# vim: set ts=4 sw=4 et: