diff options
| author | Simon Meers <simon@simonmeers.com> | 2012-08-03 10:03:52 +1000 |
|---|---|---|
| committer | Simon Meers <simon@simonmeers.com> | 2012-08-04 20:57:12 +1000 |
| commit | 10f979fd92000de1ac9713351f5cb749e2cbca03 (patch) | |
| tree | 31c737f7bbea8689237743b6223aa89529ec0445 /docs | |
| parent | b496be331c19f41bee3a8f6c79de0722f91d6662 (diff) | |
Fixed #18700 -- Added URL reversal for i18n set_language view.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 988948e259..bdbb04823d 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1272,7 +1272,7 @@ Here's example HTML template code: .. code-block:: html+django - <form action="/i18n/setlang/" method="post"> + <form action="{% url 'set_language' %}" method="post"> {% csrf_token %} <input name="next" type="hidden" value="{{ redirect_to }}" /> <select name="language"> |
