From 700be245fd05f6865e141155482c749ca1bdf986 Mon Sep 17 00:00:00 2001 From: scholarly Date: Sat, 13 Sep 2014 20:53:14 -0700 Subject: [PATCH] I was referred here by StackOverflow, but the wiki page disappeared, so here is a new one. --- Large-app-how-to.rest | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Large-app-how-to.rest diff --git a/Large-app-how-to.rest b/Large-app-how-to.rest new file mode 100644 index 0000000..c6cd3ae --- /dev/null +++ b/Large-app-how-to.rest @@ -0,0 +1,22 @@ +"Official" Advice +----------------- +`packages `_ +`blueprints `_ + + + +How does Django do it? +---------------------- +:: + INSTALLED_APPS = ( + ) + +Django avoids the circular import by using a different routing system (non-decorator). I (Terrel Shumway) actually like this better: The code is not cluttered by stuff that can change easily (routing). My sense is that Blueprints may take care of this in Flask, but I am too new to say anything definite. + + +Other Answers +------------- + * https://www.digitalocean.com/community/tutorials/how-to-structure-large-flask-applications + * http://mattupstate.com/python/2013/06/26/how-i-structure-my-flask-applications.html + * https://github.com/mattupstate/overholt +