1 2 3 4 5 6 7 8 9
from django.conf.urls import patterns, include, url urlpatterns = patterns('tbc_www.views', url(r'^home/$', 'home'), url(r'^packages/$', 'categories'), url(r'^categories/(?P<category_id>\d+)/$', 'packages'), url(r'^package/(?P<package_id>\d+)/$', 'ebuilds'), url(r'^new/$', 'new_main'), )