Skip to content

Instantly share code, notes, and snippets.

View mpirnat's full-sized avatar
😺
I'm here live, I'm not a cat.

Mike Pirnat mpirnat

😺
I'm here live, I'm not a cat.
  • An utterly insignificant little blue green planet whose ape-descended life forms are so amazingly primitive that they still think digital watches are a pretty neat idea.
  • X @mpirnat
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mpirnat on github.
  • I am mpirnat (https://keybase.io/mpirnat) on keybase.
  • I have a public key whose fingerprint is F20B A1F5 F8F7 48C6 D3F4 267C 71B0 3A69 B014 A193

To claim this, I am signing this object:

@mpirnat
mpirnat / gist:3847137
Created October 7, 2012 04:49
Example of a well-factored Flask app?
A Question
==========
Is there a good example of a well-factored Flask app that keeps its
concerns nicely separated?
Admittedly I'm brand new and only really skimming the docs at this
point, but it seems like I *have* to instantiate a Flask app right
away so that I can use the @app.route decoration to set up routes
on view methods.