#13331: Strange behavior of lists of objects with overriden changelist_view in
admin after re-login.
-------------------------------------------+--------------------------------
          Reporter:  minder                |         Owner:  nobody
            Status:  closed                |     Milestone:        
         Component:  django.contrib.admin  |       Version:  1.1   
        Resolution:  invalid               |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by kmtracey):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 You are doing something wrong. Note a single !ModelAdmin instance may get
 used for handling multiple requests, from different users. So if you set
 `self.list_editable` to `['is_approved']` when you get a request from a
 user authorized to change that, you had best take care to set it to an
 empty list when you get called to handle a request for a user that is not
 authorized to change that, otherwise your previous setting for an
 authorized user may still be in effect.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13331#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to