Re: Extending the ManyToMany relation, maybe a bad idea
On Thu, Jul 28, 2011 at 3:37 AM, Joshua Russo <josh.r.russo@gmail.com> wrote:
> I keep thinking I'm doing something wrong here. From the lack of responses I
> feel like there is no real good way to handle a group of options with
> additional relational data.
Or alternatively, no-one understood what you were trying to do and
ignored your post until you made enough sense. Like now.
How you proceed depends upon how much customization you need to do.
This situation is calling out for either a model formset on
OrganizationItem, or an inline formset. There is an excellent blog
post on inline formsets here[1].
Cheers
Tom
[1] http://charlesleifer.com/blog/djangos-inlineformsetfactory-and-you/
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home