#9122: Inline admin on generic relations ignores exclude and max_num
--------------------------------------+-------------------------------------
 Reporter:  danielr                   |       Owner:  nobody    
   Status:  new                       |   Milestone:            
Component:  Contrib apps              |     Version:  1.0       
 Keywords:  admin, generic relations  |       Stage:  Unreviewed
Has_patch:  1                         |  
--------------------------------------+-------------------------------------
 GenericInlineModelAdmin, in contrib.contenttypes.generic, passes most of
 the usual admin parameters into generic_inlineformset_factory to create
 the inline formset - but for no obvious reason it omits exclude and
 max_num, so values for these are ignored.

 Patch just adds these, and coerces exclude to a list (rather than a tuple)
 so that the content_type fields can be automatically appended without
 breaking.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9122>
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-updates@googlegroups.com
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