Pascal Hartig
35383ee83c
Removed triple-quotes from print statement in setup.py
13 years ago
Kenneth Reitz
6b4a86df3b
Merge pull request #462 from SimonSapin/patch-4
...
Install docs: pip vs. easy_install consistency
13 years ago
Simon Sapin
e08028de55
pip vs. easy_install consistency
13 years ago
Kamil Kisiel
b29834dac3
Fixed weird string quoting in setup.py
13 years ago
Kenneth Reitz
36da8e41de
Merge pull request #450 from SimonSapin/simplejson_tox
...
Tests require simplejson on 2.5, have tox install it
13 years ago
Kenneth Reitz
079c5ef7ff
Merge pull request #445 from iammookli/patch-1
...
Update docs/patterns/mongokit.rst
13 years ago
Filip Ristić
c2661dd4bc
Update docs/patterns/packages.rst
13 years ago
Jon Parise
bb99158c87
Remove an unused iteration variable.
...
We can just iterate over the namespace dictionary's keys here. We
don't need its values.
13 years ago
Simon Sapin
ee6ed491d3
Have tox install simplejson for python 2.5
13 years ago
jtsoi
fe9f5a4768
Added an example of how to configure debugging with run_simple, it has to be enabled both for the Flask app and the Werkzeug server.
13 years ago
iammookli
73cb15ed2c
Update docs/patterns/mongokit.rst
13 years ago
Ron DuPlain
eac350d1e6
Merge remote branch 'njl/master'
...
Conflicts:
docs/quickstart.rst
13 years ago
Ron DuPlain
d626787a34
Merge pull request #438 from garbados/improve_foreword
...
Improve foreword
13 years ago
Ron DuPlain
9601016157
Merge pull request #441 from wilsaj/docfix-route-converter-unicode-string
...
docfix: wrong converter name: unicode -> string fixes #364
13 years ago
Ron DuPlain
a5d1cf415e
Merge pull request #440 from jamesls/extension-docs
...
Reword the docs for writing a flask extension
13 years ago
Ron DuPlain
d94efc6db6
Expose send_file max-age as config value, #433 .
...
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
13 years ago
Ron DuPlain
146088d580
Expand docs on send_file option hook, #433 .
13 years ago
Ron DuPlain
f4a31db9f6
Merge pull request #433 from dave-shawley/master
...
Introduced a method to adjust static file cache-control headers based on filename
13 years ago
Ron DuPlain
f7bb2b5f19
Merge pull request #430 from jamesls/issue140
...
Fix issue 140
13 years ago
Ron DuPlain
c1a2e3cf14
Add Rule #0 to extension development.
13 years ago
Ron DuPlain
3bf1750b5d
Tighten quickstart deployment docs.
13 years ago
Ron DuPlain
1d1db80e06
Merge pull request #427 from kevinburke/fix-existing-tutorial
...
add heroku/deploy options to quickstart, and add clearer links in tutorial setup
13 years ago
Ron DuPlain
4e9b7867c9
Merge pull request #411 from PaulMcMillan/docs_fix
...
Remove redundant words from quickstart.
13 years ago
Max
8f568cfc19
Split foreword into two files; edited lots.
13 years ago
James Saryerwinnie
8d1546f8e6
Reword the docs for writing a flask extension
...
There was a minor bug in the example extension that's
been fixed.
I also updated the description of the fixed code accordingly, and
expanded on the usage of _request_ctx_stack.top for adding data
that should be accesible to view functions.
I verified that the existing code as is works as expected.
13 years ago
wilsaj
d4eb1af373
Merge branch 'docfix-route-converter-unicode-string' of github.com:wilsaj/flask into docfix-route-converter-unicode-string
13 years ago
wilsaj
a77938837c
docfix: wrong converter name: unicode -> string fixes #364
13 years ago
wilsaj
756a5565ea
docfix: wrong converter name: unicode -> string
13 years ago
Max
c78070d862
Wrapped paragraphs; changed some words.
13 years ago
Max
d8c2ec4cd8
Fixed linebreaks.
13 years ago
Max
74a72e86ad
Changed some things in the foreward to diminish its discouragement.
13 years ago
Anton I. Sipos
71b351173b
Move JSONHTTPException and JSONBadRequest to new module flask.exceptions.
13 years ago
Ned Jackson Lovely
68f93634de
Second thoughts on mime type
...
After further review, changing the mime type on jsonp
responses from text/javascript to application/javascript,
with a hat-tip to
http://stackoverflow.com/questions/111302/best-content-type-to-serve-jsonp
13 years ago
Ned Jackson Lovely
27194a01d8
Fix typo in docs.
...
http://feedback.flask.pocoo.org/message/279
13 years ago
Ned Jackson Lovely
12544c3a8d
Merge branch 'master' of git://github.com/mitsuhiko/flask
13 years ago
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