Re: How to create a formset that contains forms with a dropdown? (Crucial)
On 17-8-2012 1:05, Houman wrote:
> What I am trying to achieve would be deal type having a m2m
> relationship to sales items. I don't like the m2m widget,
So change it. All ModelForm derivatives have a widgets argument that is
a dictionary of fieldname => widget instance:
<https://docs.djangoproject.com/en/1.4/topics/forms/modelforms/#overriding-the-default-field-types-or-widgets>
--
Melvyn Sopacua
--
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