euscan-ng/euscanwww/euscan/urls.py
Corentin Chary 2dee08dfb7 euscanwww: category, categories and package views
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
2011-04-15 00:24:45 +02:00

14 lines
523 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('euscan.views',
(r'^$', 'index'),
(r'^logs/$', 'logs'),
(r'^categories/$', 'categories'),
(r'^category/(?P<category>[\w+][\w+.-]*)/packages/$', 'category'),
(r'^herds/$', 'herds'),
(r'^herd/(?P<herd>[\w+][\w+.-]*)/packages/$', 'herd'),
(r'^maintainers/$', 'maintainers'),
(r'^maintainer/(?P<maintainer_id>\d+)/packages/$', 'maintainer'),
(r'^package/(?P<category>[\w+][\w+.-]*)/(?P<package>[\w+][\w+.-]*)/$', 'package'),
)