From a4204bb08f793712fb49d471ba9963e6d875ede5 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 19 Dec 2016 22:40:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B8=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=B3=D1=80=D1=83=D0=BF?= =?UTF-8?q?=D0=BF=D1=8B=20=D0=B0=D0=B1=D0=BE=D0=BD=D0=B5=D0=BD=D1=82=D0=BE?= =?UTF-8?q?=D0=B2,=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B5=20=D0=BE=D0=B1=D1=8F=D0=B7=D0=B0=D1=82=D0=B5=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- abonapp/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'