mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 14:18:11 +08:00
Schedule args and kwargs fields are now unlimited text fields.
This commit is contained in:
+2
-2
@@ -89,8 +89,8 @@ class Failure(Task):
|
||||
class Schedule(models.Model):
|
||||
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.CharField(max_length=256, null=True, blank=True, help_text=_("e.g. 1, 2, 'John'"))
|
||||
kwargs = models.CharField(max_length=256, null=True, blank=True, help_text=_("e.g. x=1, y=2, name='John'"))
|
||||
args = models.TextField(null=True, blank=True, help_text=_("e.g. 1, 2, 'John'"))
|
||||
kwargs = models.TextField(null=True, blank=True, help_text=_("e.g. x=1, y=2, name='John'"))
|
||||
ONCE = 'O'
|
||||
HOURLY = 'H'
|
||||
DAILY = 'D'
|
||||
|
||||
Reference in New Issue
Block a user