Open GoogleCodeExporter opened 9 years ago
try defining your list_filter differently. My filters work fine,
class CategoryAdmin(admin.ModelAdmin):
list_display = ('name', 'long_name', 'network', 'area', 'type')
list_filter = [ 'network', 'area' ]
search_fields = ['name', 'long_name', 'descr']
Original comment by tkee...@gmail.com
on 9 Aug 2009 at 7:34
I see the same issue. My admin.py says:
class PlaceAdmin(admin.ModelAdmin):
fields = ['name', 'city', 'state',]
list_filter = ['city',]
But when viewing the admin interface, the only option under "By city" is "All"
even
though there are multiple cities in the data.
Original comment by piet.nie...@gmail.com
on 15 Nov 2009 at 4:16
Original issue reported on code.google.com by
paolo.mo...@gmail.com
on 5 Aug 2009 at 7:27Attachments: