Wednesday, July 27, 2011

Re: Extending the ManyToMany relation, maybe a bad idea

Ok, so I can retrieve this extra data in the __init__ of the model form, but it seems like I will need to skip all of the cleaning and automatic validation of the form; because the data, to be displayed with the associated checkbox will have to be included with the items field in the OrganizationForm and fields and form names need to have a one to one relationship. 

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.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/dgChbxIsY24J.
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.

No comments:

Post a Comment