Hi all!

I'm have the following models:

Class A(models.Model):
     pass


Class Z(models.Model):
    pass


Class B(models.Model):
      a = models.ForeignKey(a)
      z = models.ForeignKey(Z)

       def __unicode__(self):
          return self.z


Class C(models.Model):    
     b = models.ForeignKey(B)

    
I Want in the admin add A,B and C objects.

I know how to put inline objects of B in A. Everything works as expected. 
But I want to create new C's in the same page. Something like having C as 
an Inline of B, beeing B an Inline of A. It could appear all in popups...

I dont want the user have to select B when adding C. If it was all in the 
same page I always have object A present and user just have to add C, 
without having trouble in knowing what it was B in the first place

Thanks


-- 
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/f5febfe3-5940-44d0-a2e8-049a2c833376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to