from django.conf.urls.defaults import * urlpatterns = patterns('euscan.views', (r'^$', 'index'), (r'^about/$', 'about'), (r'^statistics/$', 'statistics'), (r'^statistics/charts/(?P[\w\-]+).png$', 'chart'), (r'^world/$', 'world'), (r'^world/scan/$', 'world_scan'), (r'^categories/$', 'categories'), (r'^categories/(?P[\w+][\w+.-]*)/view/$', 'category'), (r'^categories/(?P[\w+][\w+.-]*)/charts/(?P[\w\-]+).png$', 'chart_category'), (r'^herds/$', 'herds'), (r'^herds/(?P[\{\}\w+.-]*)/view/$', 'herd'), (r'^herds/(?P[\{\}\w+.-]*)/charts/(?P[\w\-]+).png$', 'chart_herd'), (r'^maintainers/$', 'maintainers'), (r'^maintainers/(?P\d+)/view/$', 'maintainer'), (r'^maintainers/(?P\d+)/charts/(?P[\w\-]+).png$', 'chart_maintainer'), (r'^package/(?P[\w+][\w+.-]*)/(?P[\w+][\w+.-]*)/$', 'package'), )