I'm in a situation where I have a List model class and a ListItem
model class. The ListItem class has a ForeignKey to the List class
with `edit_inline=models.STACKED, num_in_admin=10`. In the admin
interface for adding a new List, this is represented perfectly: it
shows the fields for the List object and 10 sets of fields for the
ListItem objects.

How would I replicate this same form setup (1 List, 10 ListIems) using
newforms in my app? I looked at the admin code on the newforms-admin
branch, but it's very genericised and dense. I'm thinking there's a
simple way to accomplish this, but it's not jumping out at me after
reading the docs.

I'd appreciate some pointers in the right direction.

Thanks in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to