2 ms·
Self-referencing ManyToMany through with Django
How to implement self-referencing many-to-many relationships in Django. Example use cases are modeling asymmetrical following (a-la twitter) or symmetrical friendship (a-la facebook).
- conesus 17y agoThis is an excellent guide. Very clear on usage and writing with the correct Django pattern. Thanks for submitting this.