Commit graph

960 commits

Author SHA1 Message Date
bagratte
9a80fe691d minor revision of documentation. 2016-04-01 23:12:25 +02:00
lord63
e0a8fd3162 Add two missing converters for flask in the docs
All converters are from werkzeug's builtin converters.

Documentation: http://werkzeug.pocoo.org/docs/dev/routing/#builtin-converters
2016-04-01 14:05:11 -07:00
gunbei
55e37d4f09 update get-pip.py location 2016-03-23 11:27:05 +01:00
Austen D'Souza
fc0e1a8d8a Fixed typo
I think it's supposed to be an upper-case 'F'. Cheers :)
2016-03-23 02:02:04 +05:30
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?
2016-03-15 00:02:29 +09:00
Ethan Rogers
adeedddbb5 Fix minor typo in security doc 2016-03-11 10:06:00 -07:00
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.
2016-03-08 10:05:20 +01:00
Markus Unterwaditzer
e7d548595e Merge pull request #1456 from jonafato/proxy-setup-x-forwarded-proto
Add X-Forwarded-Proto header to proxy setup example docs
2016-02-17 22:02:22 +01:00
Eric Dill
52daeffdc9 DOC: Remove gendered language 2016-02-09 14:24:09 -05:00
Prayag Verma
6c0496a1f3 Fix a typo
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
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
2016-02-03 21:08:22 +08:00
Kenneth Reitz
e7367c9bbf Merge pull request #1588 from Akasurde/i_1465
Updated documentation for Setuptools
2016-01-26 20:40:26 -05:00
Jeff Widman
daceb3e3a0 Add support for serializing top-level arrays to JSON
Fix #170, #248, #510, #673, #1177
2016-01-13 13:20:11 -08:00
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
2015-12-09 20:24:23 -08:00
Dougal Matthews
25aab43f8e Fixed a typo
I think 'app' is the intended word here, but I am not 100% sure.
2015-12-03 09:51:24 +00:00
lord63
51b62fb044 Render the code block in mongokit.rst 2015-11-22 14:43:25 +08:00
Armin Ronacher
751fe451df Merge pull request #1558 from JonasGroeger/master
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
Daniel Thul
2faf245876 Fix typo. 2015-11-11 23:46:51 +01:00
wodim
4a8f3eacbb Fix typo in templating.rst 2015-11-04 12:00:44 +01:00
Abhijeet Kasurde
b51e368cc7 Merge branch 'master' of https://github.com/mitsuhiko/flask
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-11-01 09:34:11 +05:30
David Lord
41622c8d68 Link article about deploying on Azure/IIS 2015-10-31 15:17:45 -07:00
David Lord
233886dda2 Merge pull request #1565 from msiyaj/master
Missing apostophe.
2015-10-30 19:20:27 -07:00
David Lord
84a12afd4d Merge pull request #1593 from timofurrer/master
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
2015-10-30 11:10:08 -07:00
Michael Klich
99bc0dfd3b Add info about working with VE and Python 3
Python 3 does not have execfile function.
2015-10-29 19:03:20 -07:00
Timo Furrer
d526932a09 support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable 2015-10-24 07:04:23 +02:00
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>
2015-10-20 14:40:55 +05:30
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
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