Commit graph

1040 commits

Author SHA1 Message Date
Ron DuPlain
19d32cb172 Update Flask.run signature, note defaults. 2012-01-16 23:33:13 -05:00
Joe Esposito
46e7bc7083 In Flask.run, now when the host/port argument is None, it will use its default value. 2012-01-16 23:29:24 -05:00
Ron DuPlain
c93ea5551c Keep flashed message examples in one place. 2012-01-16 23:16:43 -05:00
Ron DuPlain
81010bf7af Add get_flashed_messages to CHANGES, expand docs. 2012-01-16 23:10:21 -05:00
Steven Osborn
fa069f94de Allow category filtering in get_flashed_messages to allow rending categories in separate html blocks 2012-01-16 22:45:42 -05:00
Ron DuPlain
676b3a4c13 Check status code in test client or fail silently. 2012-01-16 22:44:06 -05:00
Ron DuPlain
b9907b4969 Expand get_flashed_messages tests.
Ready to pull request #336.
http://github.com/mitsuhiko/flask/pull/336
2012-01-16 22:22:08 -05:00
Ron DuPlain
ed40eacf42 Add tiny doc touchups. 2012-01-16 21:45:19 -05:00
Ori Livneh
df19ee95bd more editorial work 2012-01-16 21:33:35 -05:00
Ori Livneh
593b003b5c tweak to one sentence 2012-01-16 21:28:35 -05:00
Ori Livneh
c34a87033f tweaks to style and structure 2012-01-16 21:28:35 -05:00
Ori Livneh
1a9e082a76 tweaks to style 2012-01-16 21:28:31 -05:00
Ori Livneh
e5161a773e commas after introductory phrases 2012-01-16 21:25:54 -05:00
Ron DuPlain
96f7beba46 Document recent changes. 2012-01-16 20:53:20 -05:00
Ron DuPlain
820d099e82 Add tests for template filter methods/decorators. 2012-01-16 20:21:26 -05:00
Ron DuPlain
ce4d589d5b Add non-decorator template filter methods.
Suggested by @Poincare on GitHub, on @Reisen's pull request:
https://github.com/mitsuhiko/flask/pull/272
2012-01-16 20:16:48 -05:00
Reisen
2a4d3ef116 Added a template filter decorator to blueprints. 2012-01-16 18:58:43 -05:00
Kyle Wild
8532bd51a7 [docstring] Remove an extra if clause to clarify sentence 2012-01-16 13:42:43 -05:00
Kyle Wild
46651659c2 Fix a typo ("is"->"if") in the comments; clarify a bit 2012-01-16 13:42:43 -05:00
awsum
d620ea7ea2 Update docs/api.rst a bit to reflect code. 2012-01-16 13:42:43 -05:00
Sundar Raman
94692607e6 Documentation on how to use external debuggers like eclipse/aptana 2012-01-16 13:42:43 -05:00
ThomasWaldmann
e2cb8d2ef1 fixed typo, quote "with" statement 2012-01-16 13:42:43 -05:00
Priit Laes
d18868bd17 Add simple decorator example
Github issue #358
2012-01-16 13:42:43 -05:00
Priit Laes
a59cbd4f52 Minor grammar fix 2012-01-16 13:42:42 -05:00
Ron DuPlain
1f20a11284 Fall back to imports w/exotic pkg loaders, #380.
Needs a test, which likely requires introducing a mock library.
2012-01-16 09:23:40 -05:00
Ron DuPlain
83189f20bf Add .egg for zipimporter instance path test.
.gitignore contains '*.egg'
2012-01-16 09:05:42 -05:00
Ron DuPlain
970de5e8b6 Add discussion to NoImportsTestCase. 2012-01-09 10:25:06 -05:00
Ron DuPlain
fde6e364a4 Update tests for new module helpers. 2012-01-07 17:55:02 -05:00
Ron DuPlain
a3b30b7e3b Handle zip & interactive cases in module helpers. 2012-01-07 17:54:37 -05:00
Ron DuPlain
d16491145d Update module helpers to avoid Python imports.
This avoids errors in creating Flask instances where there are import
errors in the module or package matching the import name.  Those runtime
errors will be apparent to the user soon enough, but tools which build
Flask instances meta-programmatically benefit from a Flask which does
not __import__.
2012-01-07 17:52:38 -05:00
Ron DuPlain
26a9c2079d Add test to catch imports at Flask instantiation. 2012-01-07 17:52:38 -05:00
Ron DuPlain
c824ffcf38 Merge pull request #375 from awsum/patch-1
typo fix
2012-01-07 11:20:29 -08:00
awsum
d50a0b4955 typo fix 2012-01-07 21:11:35 +02:00
Armin Ronacher
f64098c784 Merge pull request #369 from FND/docs
documentation: stylistic adjustments
2012-01-04 15:05:16 -08:00
Armin Ronacher
b6625ec193 Fixed a wrong example in the view docs. This fixes #374 2012-01-05 00:04:50 +01:00
Armin Ronacher
065afe53a6 Improved doc exaples. This fixes #370 and #371. 2011-12-27 19:08:44 +01:00
FND
7ccca13bbd Fixed various stylistic issues in documentation 2011-12-27 11:01:14 +01:00
Armin Ronacher
a9726c43ac Updated mod_wsgi docs to reference the sys.path hackery 2011-12-04 18:59:37 -05:00
Armin Ronacher
c90858a95d Added a branch to test functionality enabled by new test client 2011-11-28 22:48:14 +01:00
Armin Ronacher
4fe80c05c6 Not yet stable? Bollocks 2011-11-28 22:47:36 +01:00
Armin Ronacher
9c8f138a42 Improved test coverage for the test client 2011-11-25 21:08:19 +01:00
Armin Ronacher
b8866aeb22 Merge remote-tracking branch 'plaes/testing-redirects-session' 2011-11-20 17:06:37 +01:00
Craig Dennis
75050d4bc5 Simple documentation corrections, mostly typos. 2011-11-20 17:03:37 +01:00
Armin Ronacher
8ae6ced82d Merge pull request #345 from jimrollenhagen/master
Fix issue #338
2011-11-20 08:00:14 -08:00
Armin Ronacher
d628df6ab6 Store session after callbacks. This fixes #351 2011-11-20 16:54:40 +01:00
Priit Laes
9dd61eea6b Added testcase for redirect and session keeparound bug 2011-11-10 10:59:32 +02:00
Armin Ronacher
7f4c12b335 Break up a circular dependency on shutdown 2011-11-05 17:43:40 +01:00
Jim Rollenhagen
e345a3afb5 Fix string format error while we're in here. 2011-11-05 09:03:18 -04:00
Jim Rollenhagen
51e4a58a85 Fix flask issue #338
Give POST its own url_rule to avoid TypeError.
2011-11-05 09:02:05 -04:00
Armin Ronacher
11c7b1df23 Merge branch 'master' of github.com:mitsuhiko/flask 2011-11-04 02:46:44 +01:00