From 0659a435b24581c2c38d609231c14f61503273b7 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 30 Jan 2009 21:34:13 +0100 Subject: [PATCH] Allow Character.contacts to be empty. --- influences/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influences/models.py b/influences/models.py index 8f243f5..089e2a3 100644 --- a/influences/models.py +++ b/influences/models.py @@ -23,7 +23,7 @@ class Character(models.Model): name = models.CharField(max_length=255, verbose_name = _("Name")) status = models.CharField(max_length=2, choices=STATUS_CHOICES, default='N', verbose_name = _("Status")) player = models.ForeignKey(User, verbose_name = _("Player")) - contacts = models.ManyToManyField('self') + contacts = models.ManyToManyField('self', blank = True) type = models.CharField(max_length=2, choices=TYPE_CHOICES, verbose_name=_("Type")) def __unicode__(self): -- 2.30.2