I want to enable users to fill out two forms (textareas) on one page,
where each form creates a new instance of a model/class. I have the 2
following models:

========================
class A(models.Model):
    text = models.TextField()

class B(models.Model):
    a = models.ForeignKey(A)
    text = models.TextField()

========================

The problem is that B can't be created before the id of A is known. How
is this normally done?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to