summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-10-31 15:46:43 -0200
committerIsmael Carnales <icarnales@gmail.com>2009-11-09 22:24:52 -0200
commit1c22bbc3f74f90a136b899c22bba327161c14763 (patch)
tree68ce5e80100ef7d103c1d2bb24a1937508995e7d /urls.py
parent522838d28153fc05d10fc7913babf477894aab79 (diff)
added missing packages views from archweb_pub
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index ccac4937..89def312 100644
--- a/urls.py
+++ b/urls.py
@@ -24,6 +24,8 @@ sitemaps = {
admin.autodiscover()
urlpatterns = patterns('',
+ (r'^packages/flag/(\d+)/$', 'archweb.packages.views.flag'),
+ (r'^packages/flaghelp/$', 'archweb.packages.views.flaghelp'),
(r'^packages/unflag/(\d+)/$', 'archweb.packages.views.unflag'),
(r'^packages/files/(\d+)/$', 'archweb.packages.views.files'),
(r'^packages/signoffs/$', 'archweb.packages.views.signoffs'),
@@ -31,6 +33,10 @@ urlpatterns = patterns('',
'archweb.packages.views.signoff_package'),
(r'^packages/update/$', 'archweb.packages.views.update'),
+ # Preference is for the packages/ url below, but search is kept
+ # because other projects link to it
+ (r'^packages/search/$', 'archweb.packages.views.search'),
+ (r'^packages/search/(?P<page>\d+)/$', 'archweb.packages.views.search'),
(r'^packages/$', 'archweb.packages.views.search'),
(r'^packages/(?P<page>\d+)/$', 'archweb.packages.views.search'),
@@ -40,6 +46,8 @@ urlpatterns = patterns('',
'archweb.packages.views.details'),
(r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/$',
'archweb.packages.views.details'),
+ (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/maintainer/$',
+ 'archweb.packages.views.getmaintainer'),
(r'^todo/(\d+)/$', 'archweb.todolists.views.view'),
(r'^todo/add/$', 'archweb.todolists.views.add'),