Commit graph

1077 commits

Author SHA1 Message Date
Thiago de Arruda
8445f0d939 Fixed assumption made on session implementations.
In the snippet 'session.setdefault(...).append(...)', it was being
assumed that changes made to mutable structures in the session are
are always in sync with the session object, which is not true for
session implementations that use a external storage for keeping their
keys/values.
2012-03-02 07:46:39 -03:00
Dave Shawley
8d7ca29a35 Cleaned up test case for issue #414. 2012-03-01 08:53:58 -05:00
Dave Shawley
76773e1d0a Fixed silent keyword arg to config.from_envvar.
The ``silent`` keyword argument to Config.from_envvar was not being honored
if the environment variable existed but the file that it mentioned did not.
The fix was simple - pass the keyword argument on to the underlying call to
``from_pyfile``.  I also noticed that the return value from ``from_pyfile``
was not being passed back so I fixed that as well.
2012-03-01 08:34:08 -05:00
awsum
20a3281209 Update docs/patterns/wtforms.rst 2012-02-25 15:29:13 -05:00
Andrew Ash
fc7fe62846 Update docs/errorhandling.rst 2012-02-25 15:29:13 -05:00
Ron DuPlain
fdad6713eb Add updates to render_template to CHANGES, #409. 2012-02-24 09:33:11 -05:00
Dmitry Shevchenko
0b3369355d Allow loading template from iterable 2012-02-24 00:46:20 -06:00
Ron DuPlain
04bb720d38 Fix Blueprint example with template_folder, #403. 2012-02-14 18:13:29 -05:00
Ron DuPlain
e070ede050 Use "." not "source" for shell sourcing.
Shell portability from mitsuhiko.
2012-02-07 10:42:25 -05:00
Kenneth Reitz
5e848176e5 typos and fixes 2012-02-06 21:05:51 -05:00
Kenneth Reitz
deb03da3ff Merge remote-tracking branch 'origin/pip' into pip 2012-02-06 21:04:13 -05:00
Kenneth Reitz
60f7e3a7b4 vent and no more . 2012-02-06 20:42:06 -05:00
Kenneth Reitz
73a8595335 vent and no more . 2012-02-06 20:41:13 -05:00
Kenneth Reitz
4a75198f36 pip and distribute installation 2012-02-06 20:29:14 -05:00
Kenneth Reitz
3de8de1985 pip > easy_install 2012-02-06 20:19:32 -05:00
Ron DuPlain
96d7f20787 Fix tox warning, test "not installed in testenv". 2012-02-04 10:44:16 -05:00
Ron DuPlain
84b96ac9d3 Add pypy to tox.ini. 2012-02-04 10:37:58 -05:00
Ron DuPlain
69e7a0a2a0 Move debugger details into a new section, #343. 2012-02-03 18:11:14 -05:00
Ron DuPlain
dfd3ef6d54 Add cookie size limit note to sessions section.
Result of discussion with jujule_ on #pocoo irc.
2012-02-03 13:19:04 -05:00
Ron DuPlain
5a1bef4429 Demonstrate in docs how to use registered filters.
Requested by @plaes on #pocoo irc.
2012-02-01 18:03:32 -05:00
Ron DuPlain
8ef2ca99b9 Reword context processors for functions. 2012-02-01 18:03:29 -05:00
Priit Laes
d33f9990c8 Document context processors' variable functions 2012-02-01 14:58:44 +02:00
Ron DuPlain
7ba5196ba6 Merge pull request #392 from FND/docs
Hyphenate "class-based"
2012-01-31 07:05:03 -08:00
FND
4aebc267bc Hyphenate "class-based"
makes it more readable
2012-01-31 13:54:52 +01:00
Ron DuPlain
5cb50a46ee Fix Message Flashing doc, from SwashBuckla #pocoo.
Provide a full example as promised in the doc.
2012-01-31 05:46:18 -05:00
Ron DuPlain
36f3184396 Automate .mobi generation of docs, #388. 2012-01-26 13:24:15 -05:00
Ron DuPlain
92dbe3153a Export .epub with docs, #388. 2012-01-24 18:00:44 -05:00
Armin Ronacher
476f8d57a2 Merge pull request #390 from jfinkels/patch-1
Added PATCH method to the list of HTTP method functions for MethodView
2012-01-24 14:01:27 -08:00
Jeffrey Finkelstein
c5ebf9a97d Added PATCH method to the list of HTTP method functions for use in the flask.views.MethodView class. 2012-01-24 16:48:04 -05:00
Ron DuPlain
fbbe14791f Merge pull request #387 from FND/docs
documentation: minor stylistic adjustments
2012-01-23 11:51:15 -08:00
FND
2792dcf23e simplified as_view documentation
in the process, rewrapped lines to 78 chars (the file's current maximum)
2012-01-23 20:27:47 +01:00
FND
76c1a1f722 fixed spelling of "instantiate"
while the interwebs suggest "instanciate" might be a valid spelling, it
seems quite uncommon and potentially irritating (to pedants like myself)
2012-01-23 20:12:57 +01:00
Ron DuPlain
b786eac557 Add test for limited imp loaders, #380. 2012-01-18 18:57:05 -05:00
Ron DuPlain
56177bcbd1 Document app.testing=True for test client, #381. 2012-01-17 19:43:11 -05:00
Ron DuPlain
2e5de98297 Use app.testing=True for asserts in messages test. 2012-01-17 19:33:48 -05:00
Ron DuPlain
49b77fbc7a Add missing colons to versionadded. 2012-01-17 11:38:00 -05:00
Ron DuPlain
234ac198cb Add updated Flask.run to CHANGES. 2012-01-16 23:38:36 -05:00
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