/usr/share/doc/python-werkzeug-doc/examples/i18nurls/urls.py is in python-werkzeug-doc 0.10.4+dfsg1-1ubuntu1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | from werkzeug.routing import Map, Rule, Submount
map = Map([
Rule('/', endpoint='#language_select'),
Submount('/<string(length=2):lang_code>', [
Rule('/', endpoint='index'),
Rule('/about', endpoint='about'),
Rule('/blog/', endpoint='blog/index'),
Rule('/blog/<int:post_id>', endpoint='blog/show')
])
])
|