Django: instantiating M2M-through models

/ Published in: Python
Save to your folder(s)

Now that you have set up your ManyToManyField to use your intermediary model (Membership, in this case), you're ready to start creating some many-to-many relationships. You do this by creating instances of the intermediate model:


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.