i have no idea about keywords of this question, so i can't search the answer of this question or the django document.
my question is i have three models: Trainee, Company, Course. and their relation table is below: Course|Trainee|Company C1 | T1 | Com1 C1 | T2 | Com1 C1 | T3 | Com1 C2 | T1 | Com2 C2 | T3 | Com1 C2 | T4 | Com2 C3 | T1 | Com2 one course has many trainees, and one trainee mayby belongs to two Companies. for example: T1 belongs to two companies, when T1 go to C1 course, he belongs to Com1, but belongs to Com2 when he go to C2,C3. how can i implement this relation in Couse Model, i cann't use the syntax like trainee = models.ManyToManyField(Trainee) company = models.ManyToManyField(Company) that makes two relation tables not one. thank you for your patience. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---