[Answer]-M2M between two different apps

1👍

https://docs.djangoproject.com/en/dev/ref/models/fields/#foreignkey

class Group(models.Model):
    name = models.CharField(max_length=256)
    abbreviation = models.CharField(max_length=32)
    admin = models.ManyToManyField('userprofile.UserProfile')

Leave a comment