From: Guillaume Pellerin Date: Thu, 3 Apr 2014 23:38:26 +0000 (+0200) Subject: bugfix X-Git-Tag: 0.5.5~1^2~68 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a66cb0caca868dfbcfdd7b711c043d73e6b692cf;p=timeside.git bugfix --- diff --git a/timeside/models.py b/timeside/models.py index 45e8b3d..4f6cee7 100644 --- a/timeside/models.py +++ b/timeside/models.py @@ -112,10 +112,13 @@ class Experience(DocumentedBaseResource): class Processor(BaseResource): - pid = models.CharField(_('pid'), choices=PROCESSOR_PIDS, max = models.CharField(_('type'), choices=PROCESSOR_TYPES, default='none', max_length=64) + pid = models.CharField(_('pid'), choices=PROCESSOR_PIDS, max_length=256) + type = models.CharField(_('type'), choices=PROCESSOR_TYPES, default='none', max_length=64) parameters = JSONField(_('parameters'), blank=True, null=True) - version = models.CharField(_('version'), max_length=64, blank=Truefailed class Meta(MetaCore): - running app + '_processors' + version = models.CharField(_('version'), max_length=64, blank=True) + + class Meta(MetaCore): + db_table = app + '_processors' verbose_name = _('processor') def __unicode__(self):