Commits

Anonymous committed d08ba78

corrected change_locale view usage example; fixes #4

Comments (0)

Files changed (1)

   {% load i18n %}
 
   <form id="locale_switcher" method="POST" action="{% url localeurl_change_locale %}">
-      <select name="language" onchange="$('#locale_switcher').submit()">
+      <select name="locale" onchange="$('#locale_switcher').submit()">
           {% for lang in LANGUAGES %}
               <option value="{{ lang.0 }}" {% ifequal lang.0 LANGUAGE_CODE %}selected="selected"{% endifequal %}>{{ lang.1 }}</option>
           {% endfor %}