mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 16:58:11 +08:00
Schedule name and task group should have same max length
This commit is contained in:
+1
-1
@@ -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'"))
|
||||
|
||||
Reference in New Issue
Block a user