pvl/verkko/urls.py
changeset 8 f64c44640b15
parent 7 7baf4cccb4a9
child 13 a2f245750700
--- a/pvl/verkko/urls.py	Wed Oct 10 23:44:37 2012 +0300
+++ b/pvl/verkko/urls.py	Thu Oct 11 00:44:08 2012 +0300
@@ -21,8 +21,7 @@
 
 urls = Map((
     rule('/',                       Index),
-    rule('/hosts/',                 hosts.IndexHandler),
+    rule('/hosts/',                 hosts.ListHandler),
     rule('/hosts/<int:id>',         hosts.ItemHandler),
-    rule('/hosts/<attr>/<value>',   hosts.ListHandler),
 ))