Austen D'Souza
fc0e1a8d8a
Fixed typo
...
I think it's supposed to be an upper-case 'F'. Cheers :)
9 years ago
whiteUnicorn
bc9619beba
Replace ';' to ','
...
I think it is awkward. Though semicolon can be used as a kind of supercomma, this sentence is not that kine of thing. Replacing it with comma would be more better. isn't it?
9 years ago
Ethan Rogers
adeedddbb5
Fix minor typo in security doc
9 years ago
Gaëtan Petit
67e2127a5d
Update deprecated references
...
validators.Required() is marked as deprecated in favor of validators.DataRequired() and will be remove in WTForms 3.
9 years ago
Eric Dill
52daeffdc9
DOC: Remove gendered language
9 years ago
Prayag Verma
6c0496a1f3
Fix a typo
...
`interchangable` → `interchangeable`
9 years ago
lord63
6d0bbd627c
Fix typo
...
* Use the compatible way to handle the exception. You can find the
source code wsgi_app in app.py, and it use the compatible way, so update it
* Fix typo in config.py
* Fix typo in app.py
9 years ago
Jeff Widman
daceb3e3a0
Add support for serializing top-level arrays to JSON
...
Fix #170 , #248 , #510 , #673 , #1177
9 years ago
accraze
fcd573e120
added note about directory permission syntax change
...
docs had httpd 2.2 syntax for directory permission with a link to Apache 2.4 changes. added an example of httpd 2.4 syntax
resolves #1644
9 years ago
Dougal Matthews
25aab43f8e
Fixed a typo
...
I think 'app' is the intended word here, but I am not 100% sure.
9 years ago
lord63
51b62fb044
Render the code block in mongokit.rst
9 years ago
Daniel Thul
2faf245876
Fix typo.
9 years ago
wodim
4a8f3eacbb
Fix typo in templating.rst
9 years ago
David Lord
41622c8d68
Link article about deploying on Azure/IIS
9 years ago
Michael Klich
99bc0dfd3b
Add info about working with VE and Python 3
...
Python 3 does not have execfile function.
9 years ago
Timo Furrer
d526932a09
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
9 years ago
Abhijeet Kasurde
15f267e1ee
Updated documentation for Setuptools
...
Updated documentation by removing references of distribute and adding
references of setuptools.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 years ago
Nadav Geva
51c35295af
Fix name mismatch in apierrors page
9 years ago
msiyaj
808bf6d204
Missing apostophe.
9 years ago
Jonas Gröger
b644e2747f
Mention virtual environments in uwsgi/nginx deployment docs
9 years ago
Jonas Gröger
8b9cb6caa7
Update uwsgi/nginx deployment documentation
...
Instead of using the uwsgi_modifier1 30 directive, the uwsgi docs
recommend to use the mount / manage-script-name approch which mounts
a module + callable to a certain path. This way, SCRIPT_NAME and
PATH_INFO are correctly rewritten.
See http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
Fixes #1464
9 years ago
Wayne Ye
05c2e7c276
Fixed gevent introduction to use libev instead of libevent
9 years ago
Alan Hamlett
99c99c4c16
Enable autoescape for `render_template_string`
10 years ago
Zev Averbach
5dfe918e4f
fixed some punctuation, fixed a few errors, in service of readability
10 years ago
ThiefMaster
bbaf20de7c
Add pop and setdefault to AppCtxGlobals
10 years ago
Alexander Pantyukhin
a9066a3756
Changes and docs are modified.
10 years ago
Markus Unterwaditzer
beec47a7cc
Deduplicate signals docs
...
Triggered by #1390
10 years ago
Vincent Driessen
a4b335a64a
Remove the word `trivially` here
...
A lot of things are trivial, or debatably trivial, but this is not one of them :)
10 years ago
Markus Unterwaditzer
b471df6c88
Point to stable version of Celery
10 years ago
Markus Unterwaditzer
66b4ea91b4
Fix #1195
10 years ago
Jeff Widman
f80ea4fe5d
Some grammar and typo fixes
10 years ago
Daniel Neuhäuser
2b58e6120c
Fix wording
10 years ago
Daniel Neuhäuser
b9938d0182
Don't allow namespace packages anymore
10 years ago
Daniel Neuhäuser
b12d9762e7
Require Python 3.3 and higher for extensions
...
Flask and several extensions already supports Python 3.3 and higher. By
requiring approved extensions to support Python 3.3 as well we can
quickly achieve better Python 3 adoption and make using Python 3 easier
for users.
The effort of supporting both Python 2.7 and Python 3.3 is small enough
that it shouldn't be a problem to require this from extension authors.
10 years ago
Daniel Neuhäuser
3185f445c9
Drop Python 2.6 minimum requirement for extensions
...
Python 2.6 is not supported by python-dev anymore and does not get any
security updates. Even though Flask supports 2.6 at the moment, I think
it's not necessary for any extensions that are going to be approved in
the future to support 2.6.
10 years ago
Daniel Neuhäuser
43d6b8a5fc
Drop Extension==dev requirement
...
pip doesn't install links included in the description of projects
anymore. Therefore ==dev install doesn't work anymore.
10 years ago
Jeff Widman
f05aeea6dd
Correct the order of suggested syntax for extension imports
...
According to https://github.com/mitsuhiko/flask/issues/1092#issuecomment-47118613 and https://github.com/mitsuhiko/flask/pull/1085#issuecomment-45466907 , the correct order to attempt to import extensions should be flask_foo, then flask.ext.foo, then flaskext_foo.
10 years ago
Markus Unterwaditzer
d40288496c
Show original autodoc signatures
...
Alternative to #1403
10 years ago
Andrew
337a9d6172
Include backend argument when instantiating Celery
...
Not including the backend argument can lead to AttributeError:
DisabledBackend object has no attribute for '_get_task_meta_for'.
See e.g.
http://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute .
At the same time, including the backend argument doesn't seem to harm anything else.
10 years ago
Justin Poehnelt
17d7353d39
fixed import of werkzeug secure_filename
10 years ago
Jon Banafato
887d382da1
Add X-Forwarded-Proto to proxy setup example
...
The ProxyFix middleware provided by Werkzeug uses this header for
returning accurate values from request.is_secure and request.scheme.
Without adding this header, Flask won't properly detect when it is being
served over HTTPS and will fail to generate proper external links and
cause certain extensions (e.g. Flask-OAuthlib) to function improperly.
Adding this header to the example setup should reduce issues encountered
by developers when following this guide.
10 years ago
Ford Hurley
d398780852
Mention that custom converters can be defined for url routes
10 years ago
Markus Unterwaditzer
73d89cccec
Errorhandlers were NOT *added* in 1.0
10 years ago
Phil Schaf
290372faf1
some details
10 years ago
Phil Schaf
4437eb7ceb
slimmed down error handling intro
10 years ago
Phil Schaf
d4ad47af62
added info about an exception being raised for the old and broken behavior
10 years ago
Phil Schaf
9d3c4bbb8c
Added docs for the error handler rework
10 years ago
Alex Chan
8570633214
Fix a few spelling mistakes in the docs
10 years ago
Charles Chan
6c56e4231f
Added OpenShift as a free hosting provider alternative
10 years ago
Torstein Krause Johansen
557a053e3b
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
10 years ago