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):
        class Meta:
                model = Vmspecs 

views.py

def index(request):
        form = SignUpForm1(request.POST or None)
        formb = VmForm(request.POST or None)
        formc = VmSpecForm(request.POST or None)

        if form.is_valid() and formb.is_valid() and formc.is_valid()
                form.save()
                formb.save()
                formc.save()
else

load template and forms etc..

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8bcc714-3e4d-4867-a442-5cced9a4ea96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to