Anyone here use prefect tasks with your django environment? Just wondering how that is going to play nice since there is some song and dance you have to do to get scripts to work with django
warmwaffles
09/24/2021, 10:04 PM
Just need to make sure when a task is run that
django.setup()
was called prior
k
Kevin Kho
09/25/2021, 1:45 AM
I haven’t touched Django myself but it sounds like you can do this in a flow level state handler that would run before any of the tasks begin