https://docs.djangoproject.com/en/1.4/topics/forms/modelforms/#model-formsets
El domingo, 6 de enero de 2013 11:46:40 UTC-3, Pedro J. Aramburu escribió:
>
> Have you tried merging the forms with formsets?
> https://docs.djangoproject.com/en/1.4/topics/forms/formsets/
>
> El viernes, 4 de enero de
Have you tried merging the forms with formsets?
https://docs.djangoproject.com/en/1.4/topics/forms/formsets/
El viernes, 4 de enero de 2013 13:51:41 UTC-3, Marco A Morales escribió:
>
> Hi everyone,
>
> I'm still wraping my head around class based views and I'm trying my first
> project with
Multiple forms with generic views are a problem - you can't really use the
form processing ones as they expect a single form. But, say you want a
view that has a Pet form and and Owner form
class Owner(models.Model):
name = models.CharField(max_length=100)
email =
Hi everyone,
I'm still wraping my head around class based views and I'm trying my first
project with class based views. I'm having trouble deciding how to write a
view that will display a two Modelforms, one having a foreign key over the
other.
I will need to do the .save(commit=False) part
4 matches
Mail list logo