ParentFull threadtummybug·I'm not sure about django but flasks Application object has a before_first_request method which takes a function designed to do this type of initialization operations.View on HN