ensure load_new_defaults for all manage.py commands, #434

This commit is contained in:
simon 2023-02-18 09:20:09 +07:00
parent 229555d97d
commit 571c2ce3a4
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ class ScheduleBuilder:
def build_schedule(self):
"""build schedule dict as expected by app.conf.beat_schedule"""
AppConfig().load_new_defaults()
self.config = AppConfig().config
schedule_dict = {}
for schedule_item in self.SCHEDULES: