Commit Graph

9 Commits

Author SHA1 Message Date
Ben Darnell 4fb7d402d7 Fix doctests. 2015-07-04 13:41:34 -04:00
Greg Ward 5039d3d28b Consistently format the three "Hello, world" examples (docs and README)
- encourage use of make_app() (makes testing easier)
- use fully-qualified module paths (painful in real-world code,
  but makes examples clearer)
- don't define a main() function that is never called: just
  use a boring old "__name__ == __main__" block, so the code
  can be copy + pasted + executed immediately
- just use a tuple when defining routes, not url(...): this is
  supposed to be a simple, minimalist example
2015-06-21 10:20:01 -04:00
Vladimir Rutsky 9b3f414ae7 fix typo: "initalization" 2015-03-11 16:55:56 +03:00
Ben Darnell b93b8405b3 Make many doc code blocks into sphinx doctests. 2015-02-09 00:19:47 -05:00
Justin Mayhew 1f4de38bdf Fix typo 2014-10-03 23:39:00 -03:00
Cyril Mouchel 848c5175d5 Typing error 2014-07-18 19:21:35 +02:00
Ben Darnell b96b6adf29 Fix example in docs. 2014-07-15 22:47:21 -04:00
Ben Darnell 1b0cc391c7 Expand and rewrite the guide docs. 2014-07-04 15:54:19 -04:00
Ben Darnell 76b8ab66f2 Split overview.rst into separate files. 2014-06-28 15:40:55 -07:00