Ned Jackson Lovely
09370c3f1c
Clean up docs and review pull request #384
...
Spelunking through the issues at the PyCon sprints.
13 years ago
Ron DuPlain
cb3d0b931d
Merge pull request #436 from teebes/master
...
Specifying Python version metadata in setup
13 years ago
Ron DuPlain
561775cbf6
Merge pull request #435 from mattd/master
...
Doc grammar fix from pycon sprints.
13 years ago
Christoph Heer
cb24646948
Add jsonp support inside of jsonify
13 years ago
Thibaud Morel
8216e036e9
Specifying supported Python versions in setup.py metadata
13 years ago
Matt Dawson
2d237f3c53
Fix grammar in extension dev docs.
13 years ago
Dave Shawley
06b224676d
Added _PackageBoundObject.get_static_file_options.
...
This method receives the name of a static file that is going to be served
up and generates a dict of options to use when serving the file. The
default set is empty so code will fall back to the existing behavior if
the method is not overridden.
I needed this method to adjust the cache control headers for .js files that
one of my applications was statically serving. The default expiration is
buried in an argument to send_file and is set to 12 hours. There was no
good way to adjust this value previously.
13 years ago
Kevin Burke
2befab24c5
remove localtunnel things that were added to snippets
13 years ago
James Saryerwinnie
075b6b11c8
Fix issue 140
...
This allows for a view function to return something like:
jsonify(error="error msg"), 400
13 years ago
Kevin Burke
605d0ee344
update links
13 years ago
Kevin Burke
6b9e6a5a52
add heroku/deploy options to quickstart, and add more clear links in tutorial setup.
13 years ago
Jeffrey Finkelstein
9711fd4020
On JSON requests, the JSON response should have Content-Type: application/json and the body of the response should be a JSON object.
13 years ago
Ron DuPlain
7ed3cba658
Split ebook build process into own make target.
13 years ago
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.
13 years ago
Dave Shawley
8d7ca29a35
Cleaned up test case for issue #414 .
13 years ago
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.
13 years ago
Paul McMillan
b9f4e0bd9c
Remove redundant words from quickstart.
13 years ago
awsum
20a3281209
Update docs/patterns/wtforms.rst
13 years ago
Andrew Ash
fc7fe62846
Update docs/errorhandling.rst
13 years ago
Ron DuPlain
fdad6713eb
Add updates to render_template to CHANGES, #409 .
13 years ago
Dmitry Shevchenko
0b3369355d
Allow loading template from iterable
13 years ago
Ron DuPlain
04bb720d38
Fix Blueprint example with template_folder, #403 .
13 years ago
Ron DuPlain
e070ede050
Use "." not "source" for shell sourcing.
...
Shell portability from mitsuhiko.
13 years ago
Kenneth Reitz
5e848176e5
typos and fixes
13 years ago
Kenneth Reitz
deb03da3ff
Merge remote-tracking branch 'origin/pip' into pip
13 years ago
Kenneth Reitz
60f7e3a7b4
vent and no more .
13 years ago
Kenneth Reitz
73a8595335
vent and no more .
13 years ago
Kenneth Reitz
4a75198f36
pip and distribute installation
13 years ago
Kenneth Reitz
3de8de1985
pip > easy_install
13 years ago
Ron DuPlain
96d7f20787
Fix tox warning, test "not installed in testenv".
13 years ago
Ron DuPlain
84b96ac9d3
Add pypy to tox.ini.
13 years ago
Ron DuPlain
69e7a0a2a0
Move debugger details into a new section, #343 .
13 years ago
Ron DuPlain
dfd3ef6d54
Add cookie size limit note to sessions section.
...
Result of discussion with jujule_ on #pocoo irc.
13 years ago
Ron DuPlain
5a1bef4429
Demonstrate in docs how to use registered filters.
...
Requested by @plaes on #pocoo irc.
13 years ago
Ron DuPlain
8ef2ca99b9
Reword context processors for functions.
13 years ago
Priit Laes
d33f9990c8
Document context processors' variable functions
13 years ago
Ron DuPlain
7ba5196ba6
Merge pull request #392 from FND/docs
...
Hyphenate "class-based"
13 years ago
FND
4aebc267bc
Hyphenate "class-based"
...
makes it more readable
13 years ago
Ron DuPlain
5cb50a46ee
Fix Message Flashing doc, from SwashBuckla #pocoo.
...
Provide a full example as promised in the doc.
13 years ago
Ron DuPlain
36f3184396
Automate .mobi generation of docs, #388 .
13 years ago
Ron DuPlain
92dbe3153a
Export .epub with docs, #388 .
13 years ago
Armin Ronacher
476f8d57a2
Merge pull request #390 from jfinkels/patch-1
...
Added PATCH method to the list of HTTP method functions for MethodView
13 years ago
Jeffrey Finkelstein
c5ebf9a97d
Added PATCH method to the list of HTTP method functions for use in the flask.views.MethodView class.
13 years ago
Ron DuPlain
fbbe14791f
Merge pull request #387 from FND/docs
...
documentation: minor stylistic adjustments
13 years ago
FND
2792dcf23e
simplified as_view documentation
...
in the process, rewrapped lines to 78 chars (the file's current maximum)
13 years ago
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)
13 years ago
Ron DuPlain
b786eac557
Add test for limited imp loaders, #380 .
13 years ago
Ron DuPlain
56177bcbd1
Document app.testing=True for test client, #381 .
13 years ago
Ron DuPlain
2e5de98297
Use app.testing=True for asserts in messages test.
13 years ago
Ron DuPlain
49b77fbc7a
Add missing colons to versionadded.
13 years ago