msiyaj
808bf6d204
Missing apostophe.
2015-08-27 00:27:44 -04:00
Jonas Gröger
b644e2747f
Mention virtual environments in uwsgi/nginx deployment docs
2015-08-22 01:05:45 +02:00
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
2015-08-22 00:56:54 +02:00
Markus Unterwaditzer
ac12e362c4
Merge pull request #1520 from zevav/patch-2
...
fixed some punctuation, fixed a few errors, in service of readability
2015-07-21 13:41:44 +02:00
Wayne Ye
05c2e7c276
Fixed gevent introduction to use libev instead of libevent
2015-07-14 12:36:01 -07:00
Alan Hamlett
99c99c4c16
Enable autoescape for render_template_string
2015-07-04 23:41:43 +02:00
Zev Averbach
5dfe918e4f
fixed some punctuation, fixed a few errors, in service of readability
2015-06-26 08:41:56 -04:00
ThiefMaster
bbaf20de7c
Add pop and setdefault to AppCtxGlobals
2015-06-20 18:04:58 +02:00
Alexander Pantyukhin
a9066a3756
Changes and docs are modified.
2015-06-17 15:45:37 +02:00
Markus Unterwaditzer
beec47a7cc
Deduplicate signals docs
...
Triggered by #1390
2015-06-10 18:42:55 +02:00
Vincent Driessen
a4b335a64a
Remove the word trivially here
...
A lot of things are trivial, or debatably trivial, but this is not one of them :)
2015-06-10 10:58:49 +02:00
Markus Unterwaditzer
b471df6c88
Point to stable version of Celery
2015-06-08 15:18:34 +02:00
Markus Unterwaditzer
66b4ea91b4
Fix #1195
2015-06-06 06:25:41 +02:00
Jeff Widman
f80ea4fe5d
Some grammar and typo fixes
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
2b58e6120c
Fix wording
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
b9938d0182
Don't allow namespace packages anymore
2015-06-06 04:44:41 +02:00
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.
2015-06-06 04:44:41 +02:00
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.
2015-06-06 04:44:41 +02:00
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.
2015-06-06 04:44:41 +02:00
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.
2015-06-06 04:43:22 +02:00
Markus Unterwaditzer
d40288496c
Show original autodoc signatures
...
Alternative to #1403
2015-06-06 04:17:33 +02:00
Markus Unterwaditzer
7a999cd4b8
Merge branch 'AndrewBMartin-patch-1'
2015-06-06 03:35:22 +02:00
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.
2015-06-06 03:35:04 +02:00
Justin Poehnelt
17d7353d39
fixed import of werkzeug secure_filename
2015-05-14 23:44:49 -07:00
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.
2015-05-09 12:29:53 -04:00
Ford Hurley
d398780852
Mention that custom converters can be defined for url routes
2015-05-01 12:11:55 -04:00
Markus Unterwaditzer
73d89cccec
Errorhandlers were NOT *added* in 1.0
2015-04-30 23:05:55 +02:00
Phil Schaf
290372faf1
some details
2015-04-11 18:08:04 +02:00
Phil Schaf
4437eb7ceb
slimmed down error handling intro
2015-04-11 18:01:22 +02:00
Phil Schaf
d4ad47af62
added info about an exception being raised for the old and broken behavior
2015-04-11 17:44:18 +02:00
Phil Schaf
9d3c4bbb8c
Added docs for the error handler rework
2015-04-11 17:25:17 +02:00
Alex Chan
8570633214
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
b57a076fa3
Merge pull request #1380 from KWinston/master
...
Add line of code required to run examples for Other Testing Tricks section
2015-04-02 01:57:06 +02:00
Charles Chan
6c56e4231f
Added OpenShift as a free hosting provider alternative
2015-03-31 16:13:29 -07:00
Torstein Krause Johansen
557a053e3b
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
5dd9335aac
Added note that @errorhandler(500) isn't triggered in debug mode
2015-03-31 17:35:29 +02:00
Winston Kouch
6bbbb72843
Add import flask module required to run code on Other Testing Tricks
2015-03-12 23:32:08 -04:00
Caleb Bron
c0593efbb2
link to sqlalchemy declarative has changed
2015-03-12 10:26:06 -07:00
Winston Kouch
5f8c850895
Add extensions section to Quickstart documentation
2015-03-11 23:54:09 -04:00
Markus Unterwaditzer
9c1cf1bc08
Fix broken link
2015-03-05 22:04:53 +01:00
Markus Unterwaditzer
7ae1c5a8b9
Merge pull request #1325 from bsutherland/rqst_properteis_doc_iri_patch
...
Clarify contents of request properties.
2015-03-05 22:03:54 +01:00
Markus Unterwaditzer
c282ab1ce2
Merge pull request #1354 from idrisr/master
...
improve grammar, make format consistent, and improve readability
2015-03-05 21:55:08 +01:00
Markus Unterwaditzer
0a492a09a8
Restructure Upload Progress Bars
...
- Removed dropzone.js, it hasn't been around long enough, maybe we need
to update this in two years again.
- jQuery should be a proper rst link.
2015-03-04 18:43:59 +01:00
Markus Unterwaditzer
9a61e7d571
Merge remote-tracking branch 'sourya/master'
2015-03-04 18:40:35 +01:00
Idris Raja
81e8bbbb7f
improve grammar, make format consistent, and improve readability
2015-02-19 09:57:56 -06:00
Jeff Widman
ffe0c54891
Grammer and readability fixes
2015-02-09 01:03:08 -08:00
Bruce Sutherland
0d86a89420
Wrap text.
2015-01-22 09:12:18 +09:00
Bruce Sutherland
871077c81c
Show requested URI as suggested by untitaker.
2015-01-21 20:52:42 +09:00
Bruce Sutherland
77141c1eca
Update api.rst
...
Changed Japanese text to pi symbol, emphasize that values are unicode.
2015-01-21 15:00:38 +09:00
Bruce Sutherland
3bbe869dd7
Clarify contents of request properties.
...
Change URL to IRI and update examples to include extended characters.
2015-01-21 14:09:30 +09:00