summaryrefslogtreecommitdiff
path: root/packages/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-23 12:36:49 -0600
committerDan McGee <dan@archlinux.org>2011-02-23 12:36:49 -0600
commit93bca8b0ed79afc30f6237e13dacaf32ed8cd4b3 (patch)
tree27bd36d48aa8918838f604c491a04f4417524978 /packages/urls.py
parent3181e970ce9dcc4fd996499ee536e4c2454e89dd (diff)
Allow deleting of stale package relations via status page
Add a column of checkboxes to each table, enclose the whole thing in a form, and add a super-simple delete view that takes a list of IDs and removes them from the database. The delete_packagerelation permission is required to be able to delete relations. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/urls.py')
-rw-r--r--packages/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/urls.py b/packages/urls.py
index 37ce23c0..638a370a 100644
--- a/packages/urls.py
+++ b/packages/urls.py
@@ -26,6 +26,7 @@ urlpatterns = patterns('packages.views',
(r'^differences/$', 'arch_differences'),
(r'^stale_relations/$', 'stale_relations'),
+ (r'^stale_relations/update/$','stale_relations_update'),
(r'^(?P<name>[A-z0-9\-+.]+)/$',
'details'),