Gaëtan Petit
a08c29f34b
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
337da86009
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
f248206c52
DOC: Remove gendered language
2016-02-09 14:24:09 -05:00
Prayag Verma
fdf1d7e55f
Fix a typo
...
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
lord63
0f904690da
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
04a069aad8
Merge pull request #1588 from Akasurde/i_1465
...
Updated documentation for Setuptools
2016-01-26 20:40:26 -05:00
Jeff Widman
4da4fadfc6
Add support for serializing top-level arrays to JSON
...
Fix #170 , #248 , #510 , #673 , #1177
2016-01-13 13:20:11 -08:00
accraze
bf3675e952
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
f8f7ad95d0
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
251af9ba12
Render the code block in mongokit.rst
2015-11-22 14:43:25 +08:00
Armin Ronacher
cb4eec7bcb
Merge pull request #1558 from JonasGroeger/master
...
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
Daniel Thul
3e7eef100e
Fix typo.
2015-11-11 23:46:51 +01:00
wodim
d4043a781b
Fix typo in templating.rst
2015-11-04 12:00:44 +01:00
Abhijeet Kasurde
e84b6bc578
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
952a2c770f
Link article about deploying on Azure/IIS
2015-10-31 15:17:45 -07:00
David Lord
df79298b9c
Merge pull request #1565 from msiyaj/master
...
Missing apostophe.
2015-10-30 19:20:27 -07:00
David Lord
5910b974b5
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
f09eb51475
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
906e72b219
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
2015-10-24 07:04:23 +02:00
Abhijeet Kasurde
730fcc6cb4
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
bd44c8413f
Missing apostophe.
2015-08-27 00:27:44 -04:00
Jonas Gröger
88683f0447
Mention virtual environments in uwsgi/nginx deployment docs
2015-08-22 01:05:45 +02:00
Jonas Gröger
ad3232eefc
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
84cce759c1
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
e291dc41b4
Fixed gevent introduction to use libev instead of libevent
2015-07-14 12:36:01 -07:00
Alan Hamlett
a6f9582497
Enable autoescape for render_template_string
2015-07-04 23:41:43 +02:00
Zev Averbach
8775edc88f
fixed some punctuation, fixed a few errors, in service of readability
2015-06-26 08:41:56 -04:00
ThiefMaster
394acf2112
Add pop and setdefault to AppCtxGlobals
2015-06-20 18:04:58 +02:00
Alexander Pantyukhin
069f134d7e
Changes and docs are modified.
2015-06-17 15:45:37 +02:00
Markus Unterwaditzer
f097924cfe
Deduplicate signals docs
...
Triggered by #1390
2015-06-10 18:42:55 +02:00
Vincent Driessen
d80dd731d2
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
0f1970f55d
Point to stable version of Celery
2015-06-08 15:18:34 +02:00
Markus Unterwaditzer
89de9cb967
Fix #1195
2015-06-06 06:25:41 +02:00
Markus Unterwaditzer
e48fde8176
Show original autodoc signatures
...
Alternative to #1403
2015-06-06 04:17:33 +02:00
Markus Unterwaditzer
f5cff2fa3f
Merge branch 'AndrewBMartin-patch-1'
2015-06-06 03:35:22 +02:00
Andrew
2a9385d8c3
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
7af629354e
fixed import of werkzeug secure_filename
2015-05-14 23:44:49 -07:00
Jon Banafato
138b28e17d
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
8d80857cc0
Mention that custom converters can be defined for url routes
2015-05-01 12:11:55 -04:00
Markus Unterwaditzer
eb1efd5098
Errorhandlers were NOT *added* in 1.0
2015-04-30 23:05:55 +02:00
Phil Schaf
b138a27f30
some details
2015-04-11 18:08:04 +02:00
Phil Schaf
739c1e4e5e
slimmed down error handling intro
2015-04-11 18:01:22 +02:00
Phil Schaf
f8e3819217
added info about an exception being raised for the old and broken behavior
2015-04-11 17:44:18 +02:00
Phil Schaf
55c0900452
Added docs for the error handler rework
2015-04-11 17:25:17 +02:00
Alex Chan
f4a53e97ea
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
54e43d91bf
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
1224aaa51a
Added OpenShift as a free hosting provider alternative
2015-03-31 16:13:29 -07:00
Torstein Krause Johansen
aecb94415d
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
b63389da16
Added note that @errorhandler(500) isn't triggered in debug mode
2015-03-31 17:35:29 +02:00
Winston Kouch
bac8e558a2
Add import flask module required to run code on Other Testing Tricks
2015-03-12 23:32:08 -04:00