diff --git a/docs/topics/i18n/internationalization.txt b/docs/topics/i18n/internationalization.txt
index 9fd7662..232f3cb 100644
|
a
|
b
|
Activate this view by adding the following line to your URLconf::
|
| 788 | 788 | |
| 789 | 789 | (Note that this example makes the view available at ``/i18n/setlang/``.) |
| 790 | 790 | |
| | 791 | Make sure you have this middleware in your settings: |
| | 792 | |
| | 793 | MIDDLEWARE_CLASSES = ( |
| | 794 | ... |
| | 795 | 'django.middleware.locale.LocaleMiddleware', |
| | 796 | ... |
| | 797 | ) |
| | 798 | |
| 791 | 799 | The view expects to be called via the ``POST`` method, with a ``language`` |
| 792 | 800 | parameter set in request. If session support is enabled, the view |
| 793 | 801 | saves the language choice in the user's session. Otherwise, it saves the |