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 <jainwolver...@gmail.com> wrote:
> yup that's 100% correct :)
>
> Rahul
>
> On Fri, Jul 9, 2010 at 10:27 AM, raj <rajeeshrn...@gmail.com> 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 <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.
>>
>>
>

-- 
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.

Reply via email to