#8999: ModelAdmin.get_form and get_formset will overwrite self.exclude with a
kwargs exclude
-----------------------------+----------------------------------------------
 Reporter:  seanl            |       Owner:  nobody    
   Status:  new              |   Milestone:  post-1.0  
Component:  Admin interface  |     Version:  1.0       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  1                |  
-----------------------------+----------------------------------------------
 In !ModelAdmin.get_form and !ModelAdmin.get_formset the intent is to
 combine self.exclude and kwargs!['exclude'] but the
 defaults.update(kwargs) will overwrite the combined values. Fix is simply
 changing the kwargs.get('exclude', []) to kwargs.pop('exclude', []).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8999>
Django Code <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 [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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to