I'm new to Django and I've encountered some problem: I'm trying to prepare website where users can attach themselves to custom model "UserGroup" (not these from User.group) so they'll become it's members as ManyToManyField relation. But I would like also to add information to these groups whether they're linked to other groups. How can do such thing? I've tried to do this like here, in UserGroup definition:
related_groups = models.ManyToManyField('UserGroup', blank=True)
But apparently I can't do that this way, I'm getting some problems during migration:
django.core.exceptions.FieldDoesNotExist: UserGroup_related_groups has no field named 'from_usergroup
'
I suppose it might be because of faulty way of thinking. Thanks for help in advance! :)