projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6beee1d
)
Allow Character.contacts to be empty.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 Jan 2009 20:34:13 +0000
(21:34 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 Jan 2009 20:34:13 +0000
(21:34 +0100)
influences/models.py
patch
|
blob
|
history
diff --git
a/influences/models.py
b/influences/models.py
index 8f243f5b49de90f250e0949b7a2e98f958f513ff..089e2a37e6a54a7553fd25cedac5ebdd78736b03 100644
(file)
--- 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):