We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e241d92 commit bac7a96Copy full SHA for bac7a96
django_celery_beat/models.py
@@ -147,7 +147,7 @@ def schedule(self):
147
_schedule = TZNaiveSchedule(
148
timedelta(**{self.period: self.every}),
149
)
150
- if getattr(settings, 'DJANGO_CELERY_BEAT_TZ_AWARE'):
+ if getattr(settings, 'DJANGO_CELERY_BEAT_TZ_AWARE', True):
151
_schedule = schedules.schedule(
152
153
nowfun=lambda: make_aware(now())
0 commit comments