Skip to content

Commit

Permalink
Added a clarifying comment on i18n _LOCALE_ value
Browse files Browse the repository at this point in the history
  • Loading branch information
ztane committed Nov 15, 2013
1 parent 6eec438 commit c3aae1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyramid/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def default_locale_negotiator(request):
- First, the negotiator looks for the ``_LOCALE_`` attribute of
the request object (possibly set by a view or a listener for an
:term:`event`).
:term:`event`). If the attribute exists and it is not ``None``,
its value will be used.
- Then it looks for the ``request.params['_LOCALE_']`` value.
Expand Down

0 comments on commit c3aae1f

Please sign in to comment.