diff --git a/abonapp/models.py b/abonapp/models.py index a6241cb..c0e6f6b 100644 --- a/abonapp/models.py +++ b/abonapp/models.py @@ -28,7 +28,7 @@ class LogicError(Exception): class AbonGroup(models.Model): title = models.CharField(max_length=127, unique=True) - profiles = models.ManyToManyField(UserProfile, related_name='abon_groups') + profiles = models.ManyToManyField(UserProfile, blank=True, related_name='abon_groups') class Meta: db_table = 'abonent_groups'