Fix M2M Relationship From Part 04
In this episode we are going to fix a mistake that I made in part 04 of this course.
If you watched the previous episode you know I screwed up a bit while doing Many to Many relationship. Since I don’t wanna deal with that mistake throughout this course, I will show you how to correct that in this quick episode.
I’m also gonna show how to create inverse relation between products and categories.
The problem is mainly that I had a brain fart during last episode and called this field product_categories. It should only be called category or categories, just as the inverse relation, should be called product or products.
So now we are going to fix that.
Like This Video?
Consider supporting me on Patreon.
...or you can share this video, that also helps ;)