From 3bf347b0ca173ca2c7b9c8d4e136ee4fd6ef2e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20S=C3=A1nchez=20Provencio?= Date: Fri, 16 Dec 2022 11:43:23 +0100 Subject: [PATCH] Clarify month range Current example shows 0 as a valid value for month. Valid range is 1-12, as the validator correctly detects. --- django_celery_beat/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_celery_beat/models.py b/django_celery_beat/models.py index 6bfc6506..e5fc4f86 100644 --- a/django_celery_beat/models.py +++ b/django_celery_beat/models.py @@ -292,8 +292,8 @@ class CrontabSchedule(models.Model): max_length=64, default='*', verbose_name=_('Month(s) Of The Year'), help_text=_( - 'Cron Months Of The Year to Run. Use "*" for "all". ' - '(Example: "0,6")'), + 'Cron Months (1-12) Of The Year to Run. Use "*" for "all". ' + '(Example: "1,12")'), validators=[validators.month_of_year_validator], )