2011-04-13 08:50:24 +02:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('euscan.views',
|
|
|
|
(r'^$', 'index'),
|
2011-04-25 22:27:32 +02:00
|
|
|
(r'^about/$', 'about'),
|
|
|
|
(r'^statistics/$', 'statistics'),
|
|
|
|
(r'^statistics/charts/(?P<chart>[\w\-]+).png$', 'chart'),
|
2011-04-15 19:28:37 +02:00
|
|
|
(r'^world/$', 'world'),
|
|
|
|
(r'^world/scan/$', 'world_scan'),
|
2011-04-13 08:50:24 +02:00
|
|
|
(r'^categories/$', 'categories'),
|
2011-04-15 19:28:37 +02:00
|
|
|
(r'^categories/(?P<category>[\w+][\w+.-]*)/view/$', 'category'),
|
2011-04-25 22:27:32 +02:00
|
|
|
(r'^categories/(?P<category>[\w+][\w+.-]*)/charts/(?P<chart>[\w\-]+).png$', 'chart_category'),
|
2011-04-13 08:50:24 +02:00
|
|
|
(r'^herds/$', 'herds'),
|
2011-04-15 19:28:37 +02:00
|
|
|
(r'^herds/(?P<herd>[\{\}\w+.-]*)/view/$', 'herd'),
|
2011-04-25 22:27:32 +02:00
|
|
|
(r'^herds/(?P<herd>[\{\}\w+.-]*)/charts/(?P<chart>[\w\-]+).png$', 'chart_herd'),
|
2011-04-13 08:50:24 +02:00
|
|
|
(r'^maintainers/$', 'maintainers'),
|
2011-04-15 19:28:37 +02:00
|
|
|
(r'^maintainers/(?P<maintainer_id>\d+)/view/$', 'maintainer'),
|
2011-04-25 22:27:32 +02:00
|
|
|
(r'^maintainers/(?P<maintainer_id>\d+)/charts/(?P<chart>[\w\-]+).png$', 'chart_maintainer'),
|
2011-04-15 00:24:45 +02:00
|
|
|
(r'^package/(?P<category>[\w+][\w+.-]*)/(?P<package>[\w+][\w+.-]*)/$', 'package'),
|
2011-04-13 08:50:24 +02:00
|
|
|
)
|