--- a/web/views/urlrewrite.py Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/urlrewrite.py Wed Sep 23 09:29:39 2009 +0200
@@ -67,7 +67,7 @@
If the input uri is a regexp, group substitution is allowed
"""
- id = 'simple'
+ __regid__ = 'simple'
rules = [
('/_', dict(vid='manage')),
@@ -179,7 +179,7 @@
"""Here, the rules dict maps regexps or plain strings to
callbacks that will be called with (input, uri, req, schema)
"""
- id = 'schemabased'
+ __regid__ = 'schemabased'
rules = [
# rgxp : callback
(rgx('/search/(.+)'), build_rset(rql=r'Any X WHERE X has_text %(text)s',