edoburu/django-parler — pull request #10 by bikeshedder (2014-03-24 21:26:48+00:00)
Title: Fix missing "language" GET parmeter when filtering in admin

When you use a `list_filter` in the admin and edit an object, you end up not editing the correct translation as `AdminModel.render_change_form` cleans the URL and removes the `language` GET parameter.

Steps to reproduce:

- Use a filter in admin (I added a `list_filter` to the ArticleAdmin in the example project)
- Click on any object (or add a new one)
- Select a different language than the default one
- Enter some data
- Save form

Result: The default translation and not the selected one is changed.

Solution: Merge this pull request. :wink: