> I cant use inlines option ind admin,py because the
> tables should be related.

If they aren't related why would you want to be entering them on the
same page?

When you come to edit them again what two instances should be loaded
together if they are completely unrelated?

Given what you first said:

> 2) I also want to insert the id values of people and publication to a
> bridge table(lets say PeoplePublication) whenever I do the first step.

you want a ManyToManyField and Inlines. A ManyToManyField
automatically sets up this bridge table. If you want more information
associated with the relationship, look into the "through" option.

http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to