Consider i have 3 tables (User, Designation, Department). I have created Department table with Designation as manytomanyField(), so i know a map table Department_Designation is created and data will be auto populating in this table, when data is fed in Department Table. Now i need a Map between this Department_Designation Map table and User table, so that i can relate the user to his Department and designation, how can i create that relation?. Is that approach a right way. Please do advice and suggest better way if any, with examples and documentation.
I am using python 2.7, Django 1.3, MySQL5.5 on windows.
Thanks
Consider i have 3 tables (User, Designation, Department). I have created Department table with
Share
See the documentation on Extra fields on many-to-many relationships.