I tried it it doesn't work because they keys don't associate when you click
save.
On Friday, May 16, 2014 2:25:06 PM UTC-6, G Z wrote:
>
> Does that work if they all have forignekey associations with each other?
>
> On Thursday, May 15, 2014 4:12:34 PM UTC-6, Brendan Edwards wrote:
>>
>> Why not
Does that work if they all have forignekey associations with each other?
On Thursday, May 15, 2014 4:12:34 PM UTC-6, Brendan Edwards wrote:
>
> Why not just do this? (Sorry for the crappy indentation.. tab doesn't work
>> on here for some reason)
>>
>> models.py:
>>
>>
>>> class SignUpForm(form
>
> Why not just do this? (Sorry for the crappy indentation.. tab doesn't work
> on here for some reason)
>
> models.py:
>
>
>> class SignUpForm(forms.ModelForm):
>> class Meta:
>> model = Customer
>>
>
> class VmForm(forms.ModelForm):
> class Meta:
>
Why not just do this? (Not sure if this is the most efficient way..)
models.py:
> class SignUpForm(forms.ModelForm):
> class Meta:
> model = Customer
>
class VmForm(forms.ModelForm):
class Meta:
model = Vms
class VmSpecForm(forms.ModelForm):
>
> so I changed it a bit after doing some more research however formb, and
> formc don't display, if I change the 'formb' to 'form' it will overwrite
> the first one and only display the second one.
> This is how i read the forignekey associate between multiple forms to be.
>
from django.sho
I want to call three models into one form on my page but it doens't like
the way that i am doing it. Any help would be awesome if i call them
idividually it just displaces the last one i call.
from django import forms
from .models import Customer, Vms, Vmspecs
class SignUpForm(forms.ModelForm
6 matches
Mail list logo