nope there is a problem after overriding it, i cannot see the check boxes now. One which is used for performing admin actions, even though i can see all the admin actions. If I uncomment the CustomAdmin then i am able to see the select boxes on the individual rows as well as "select all". What could be missing now ?
-Rahul On Fri, Jul 9, 2010 at 2:50 PM, rahul jain <[email protected]> wrote: > yup that's 100% correct :) > > Rahul > > On Fri, Jul 9, 2010 at 10:27 AM, raj <[email protected]> wrote: >> 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 <[email protected]> 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 [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. >> >> > -- 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.

