From: Matthijs Kooijman Date: Tue, 13 Jan 2009 17:14:11 +0000 (+0100) Subject: Rename Character.contact to other_contacts. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=commitdiff_plain;h=08b286aa8384a8d748581840407ee17eb7ca1a39 Rename Character.contact to other_contacts. This prepares for allowing other characters to be specified as contacts. SQL: ALTER TABLE `influences_influence` CHANGE `contact` `other_contacts` VARCHAR( 255 ) NOT NULL AFTER `character_contact_id` ; --- diff --git a/influences/models.py b/influences/models.py index 9ba3f3c..8478ecc 100644 --- a/influences/models.py +++ b/influences/models.py @@ -46,7 +46,7 @@ class Influence(models.Model): modified = models.DateField(auto_now=1, verbose_name = _("Modification time")) initiator = models.ForeignKey(Character, verbose_name = _("Initiator"), related_name='initiated_influences') - contact = models.CharField(max_length=255, verbose_name = _("Contact Name")) + other_contacts = models.CharField(max_length=255, blank = True, verbose_name = _("Other Contacts")) summary = models.CharField(max_length=255, verbose_name = _("Summary")) description = models.TextField(verbose_name = _("Description")) todo = models.TextField(verbose_name = _("Todo"))