Django 1.3 supposedly supports spanning model relationships in
list_filter, but when I try to use this feature, the admin page
redirects me to an unfiltered page.

For example, I have an admin list page for a class that looks like:

class PlayerAdmin(admin.ModelAdmin):
    model = Player
    list_filter = ('team__year',)

When I go to the admin list page, I see the options to filter by year
along the right hand side, and they are correctly populated with the
distinct years I have in the database. But if I click on an option
(which says it will go to /?team__year=2010 in the status bar) I get
redirected to /?e=1. This clears any other filters I have set up as
well.

Does anyone know why this is happening? Do you need any more
information to diagnose the problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to