summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/tbc_www/urls.py')
-rw-r--r--python/tbc_www/urls.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/tbc_www/urls.py b/python/tbc_www/urls.py
new file mode 100644
index 0000000..82e9336
--- /dev/null
+++ b/python/tbc_www/urls.py
@@ -0,0 +1,8 @@
+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'),
+)