From 1741a59d3a93097aeb0d7d26ba3b38241b7b2b68 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 6 Jan 2014 10:56:34 -0600 Subject: [PATCH] fixed routes.parametric.example.py, thanks Jonathan --- VERSION | 2 +- examples/routes.parametric.example.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 297b599c..a8c9732b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.01.05.21.36.38 +Version 2.8.2-stable+timestamp.2014.01.06.10.55.29 diff --git a/examples/routes.parametric.example.py b/examples/routes.parametric.example.py index 714a5a0a..9518ed46 100644 --- a/examples/routes.parametric.example.py +++ b/examples/routes.parametric.example.py @@ -48,9 +48,11 @@ # default_language # The language code (for example: en, it-it) optionally appears in the URL following # the application (which may be omitted). For incoming URLs, the code is copied to -# request.language; for outgoing URLs it is taken from request.language. +# request.uri_language; for outgoing URLs it is taken from request.uri_language. # If languages=None, language support is disabled. # The default_language, if any, is omitted from the URL. +# To use the incoming language in your application, add this line to one of your models files: +# if request.uri_language: T.force(request.uri_language) # root_static: list of static files accessed from root (by default, favicon.ico & robots.txt) # (mapped to the default application's static/ directory) # Each default (including domain-mapped) application has its own root-static files.