fixed routes.examples.py
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-13 09:08:09) stable
|
||||
Version 2.0.8 (2012-09-13 09:28:40) stable
|
||||
|
||||
@@ -57,9 +57,9 @@ routes_out = (
|
||||
# do not reroute admin unless you want to disable it
|
||||
('/admin/$anything', BASE+'/admin/?$anything'),
|
||||
# do not reroute appadmin unless you want to disable it
|
||||
('/$app/appadmin/$anything',BASE+'/$app/appadmin/?$anything'),
|
||||
('/$app/appadmin/$anything',BASE+'/$app/appadmin/$anything'),
|
||||
# do not reroute static files
|
||||
('/$app/static/$anything', BASE+'/$app/static/?$anything'),
|
||||
('/$app/static/$anything', BASE+'/$app/static/$anything'),
|
||||
# do other stuff
|
||||
(r'.*http://otherdomain.com.* /app/ctr(?P<any>.*)', r'\g<any>'),
|
||||
(r'/app(?P<any>.*)', r'\g<any>'),
|
||||
|
||||
Reference in New Issue
Block a user