diff options
author | Magnus Granberg <zorry@gentoo.org> | 2015-07-22 00:57:00 +0200 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2015-07-22 00:57:00 +0200 |
commit | 2251b1ad2020d70c58d01fdcefb087dd8838db1c (patch) | |
tree | 653027c19cb72a0213df32945aa1195ea2882140 /python/tbc_www/urls.py | |
parent | fix a error to display setup/profiles in new build requests in home (diff) | |
download | tinderbox-cluster-www-2251b1ad2020d70c58d01fdcefb087dd8838db1c.tar.gz tinderbox-cluster-www-2251b1ad2020d70c58d01fdcefb087dd8838db1c.tar.bz2 tinderbox-cluster-www-2251b1ad2020d70c58d01fdcefb087dd8838db1c.zip |
add package and new to menu
Diffstat (limited to 'python/tbc_www/urls.py')
-rw-r--r-- | python/tbc_www/urls.py | 8 |
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'), +) |