Where to put Django startup code?
I’d like to have these lines of code executed on server startup (both development and production):
I’d like to have these lines of code executed on server startup (both development and production):
I am trying to create middleware to optionally pass a kwarg to every view that meets a condition.