#222 fix to small db collumns for assignment.status and config.value
db-reset necessary
This commit is contained in:
parent
4edc4f503c
commit
442a24ccd8
@ -39,7 +39,7 @@ class Assignment(models.Model, SlideMixin):
|
||||
polldescription = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Short description (for ballot paper)"))
|
||||
profile = models.ManyToManyField(Profile, null=True, blank=True)
|
||||
elected = models.ManyToManyField(Profile, null=True, blank=True, related_name='elected_set')
|
||||
status = models.CharField(max_length=1, choices=STATUS, default='sea')
|
||||
status = models.CharField(max_length=3, choices=STATUS, default='sea')
|
||||
|
||||
def set_status(self, status):
|
||||
error = True
|
||||
|
@ -23,7 +23,7 @@ import settings
|
||||
|
||||
class ConfigStore(models.Model):
|
||||
key = models.CharField(max_length=100, primary_key=True)
|
||||
value = models.CharField(max_length=100)
|
||||
value = models.TextField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.key
|
||||
|
Loading…
Reference in New Issue
Block a user