django/django — pull request #538 by sebasmagri (2012-11-18 21:33:08+00:00)
Title: Coerce lookup to str in admin's SimpleListFilter.choices detection of selected choice.

When a non-string value is used for the lookup tuple first element in SimpleListFilter.lookups, the comparison with SimpleListFilter.value() will fail, and the option will not be rendered as selected in the admin's changelist.