pvl/web/urls.py
changeset 151 8a9f01036091
child 156 999ae3e9fdec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pvl/web/urls.py	Sun Jan 20 18:26:12 2013 +0200
@@ -0,0 +1,5 @@
+from werkzeug.routing import Map, Rule
+
+def rule (string, endpoint, **opts) :
+    return Rule(string, endpoint=endpoint, defaults=opts)
+