Non-reflexive recursive many-to-many relation.
|Reported by:||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.4|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Hi, I have a non reflexive recursive many to many relation in my app, and thought it'd be cool to have some default validation for this, instead of having to roll my own every time.
The relation I'm talking about is a twitter-like 'follow' relation between users, where users shouldn't be able to follow themselves (thus it's non-reflexive).