You are trying to override change_view instead of changelist_view. Otherwise your approach must work. class CustomAdmin(admin.ModelAdmin): def changelist_view(whatever_args_are_here): if condition: self.list_display = custom_list return super(CustomAdmin, self).changelist_view(...)
On Jul 9, 6:16 am, rahul jain <jainwolver...@gmail.com> wrote: > anyone on this ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.