#10938: add inlines into fieldsets
----------------------------------+-----------------------------------------
 Reporter:  ctao                  |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.0       
 Keywords:  inlines fieldsets     |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 ModelAdmin has fieldsets and inlines. e.g.
 Ref: [http://docs.djangoproject.com/en/dev/intro/tutorial02/],
 {{{
 fieldsets = [
         (None,               {'fields': ['question']}),
         ('Date information', {'fields': ['pub_date']}),
     ]

 inlines = [ChoiceInline]
 }}}

 If can put the inlines into the fieldsets, it would be great. such as:

 {{{
 fieldsets = [
         (None,               {'fields': ['question']}),
         ('inlines sample',   {inlines : [ChoiceInline]}),
         ('Date information', {'fields': ['pub_date']}),
         ('inlines sample 2', {inlines : [SomeOtherChoiceInline]}),
     ]
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10938>
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 
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