If somebody know some way to save a Manytomany field (the
departments) manually in the view and not with form.save() would be
helpful.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroup
Yes, I know that, this is strange. My models.
--
Table 1: Enterprise
Table 2: Department with : fk_enterprise =
models.ForeignKey(Enterprise)
Table 3: Item with: fk_departament =
models.ManyToManyField(Departament)
On Oct 26, 7:54 pm, refreegrata wrote:
> maybe I not explain correctly. For any modelForm the forms for a field
> "ManytoMany" are "select multiple". If I want to change this I must
> to redefine the widget for that field in the declaration of the
> "modelForm". This works correctly, I can transf
maybe I not explain correctly. For any modelForm the forms for a field
"ManytoMany" are "select multiple". If I want to change this I must
to redefine the widget for that field in the declaration of the
"modelForm". This works correctly, I can transform the field from
"select multiple" to any "for
Hello list. I have a model with a ManyToMany field.
For example:
--
class Table(models.Model):
myField = models.ManyToManyField(OtherTable)
--
The modelForm
5 matches
Mail list logo