Schedule name and task group should have same max length

This commit is contained in:
Ilan
2015-07-18 22:32:32 +02:00
parent 58a671fb45
commit f65c05624d
2 changed files with 2 additions and 2 deletions
@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='schedule',
name='name',
field=models.CharField(max_length=256, null=True),
field=models.CharField(max_length=100, null=True),
),
migrations.AddField(
model_name='task',
+1 -1
View File
@@ -111,7 +111,7 @@ class Failure(Task):
class Schedule(models.Model):
name = models.CharField(max_length=256, null=True)
name = models.CharField(max_length=100, null=True)
func = models.CharField(max_length=256, help_text='e.g. module.tasks.function')
hook = models.CharField(max_length=256, null=True, blank=True, help_text='e.g. module.tasks.result_function')
args = models.TextField(null=True, blank=True, help_text=_("e.g. 1, 2, 'John'"))