Anyone here use prefect tasks with your django env...
# ask-community
w
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
Just need to make sure when a task is run that
django.setup()
was called prior
k
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
State Handler docs if ever it helps.