Commit Graph

1058 Commits

Author SHA1 Message Date
Sudheer Satyanarayana 1ffd07ff5a Fix small typo in python3 docs
Add missing 'be'
2016-06-21 17:27:03 +02:00
Baptiste Fontaine 146cba53e7 wtforms: Add missing closing tags in example (#1917) 2016-06-19 13:27:23 -07:00
dcfix 9f2b3d815e Demonstrate how to add multiple urls to the same function endpoint #981 (#1900)
* Demonstrate how to add multiple urls to the same function endpoint

* Removed text as per untitaker, fixed spacing to be pep-8 compliant
2016-06-16 22:40:23 +02:00
Leo Tindall c0087204e5 Documentation: Clarify instructions about changing row_factory for SQLite3 (#1573)
* Clarify instructions about changing row_factory

When I was working through the tutorial, this was very confusing to me; so, I've added the code and clarification that would have helped me get through it faster.

* Clarify the nature of Row objects

* Rewrite code example for further clarity.
2016-06-14 23:55:47 -07:00
avborhanian 5aa70b5a56 Updating url in errorhandling.rst to a valid link
Was originally set to github.com/getsentry/sentry, which was a relative link to a page that doesn't exist. I prepended https:// to fix this problem.
2016-06-06 11:29:14 -04:00
Markus Unterwaditzer f6b5b571dc Fix several typos in python3.rst
- complicated -> complicates, since the effect continues into the
  future. See #1891

- effect -> affect

- Rewrap paragraph
2016-06-06 13:39:14 +02:00
Ryan Backman 3384813151 Clarify wording in App Context documentation. (#1890) 2016-06-06 13:03:01 +02:00
David Lord baa2689658 clean up py3 info more 2016-06-05 15:45:39 -07:00
alatar- 00c200eeaa Update documentation about python 3 support in Flask, resolves #1578 2016-06-05 15:25:35 -07:00
David Lord 169a4e0c44 move note about next param, add example, other cleanup 2016-06-05 14:21:17 -07:00
Ping Hu 434c19933e Add clarification for login_required decorator ref #313 2016-06-05 13:22:19 -07:00
David Lord aa9a994946 use pip instead of setup.py in fabric command 2016-06-05 13:12:25 -07:00
David Lord 14a5a9e554 move setup.cfg info to setuptools docs, reword 2016-06-05 12:59:04 -07:00
Shawn McElroy 33212309a2 updating docs and showing how to use `setup.cfg` to configure dev builds with sdist 2016-06-05 12:50:44 -07:00
RamiC 9c236d3b84 Mention the template name conflict issue in blueprint templates docs (#1843)
* Mention the template name conflict issue in docs.
In the blueprints templates documentation mention
the possible templates name conflict issue
re #266

* Mention priorities between blueprints
and other rephrasing fixes
2016-06-03 23:25:16 -07:00
Markus Unterwaditzer ae97ca8553 Merge pull request #1868 from antsar/master
Rewrite subclassing example with a better use-case.
2016-06-03 14:55:33 +02:00
wldtyp fa327fd4fa Tutorial: Note extensions for encrypting passwords (#1854)
Fix #836
2016-06-03 01:00:55 -07:00
Hyunchel Kim 62aaee02f7 Add a link to Extension Development (#1875) 2016-06-03 07:15:00 +02:00
Jason Brazeal d88c08e56f improved documentation for config.from_object (#1870) 2016-06-02 15:40:59 -07:00
Anton Sarukhanov 447f591d2b Rewrite subclassing example with a better use-case. 2016-06-02 15:34:56 -07:00
Jeff Widman a228a3b2cf Merge pull request #1862 from antsar/master
Add subclassing pattern/example
2016-06-02 14:32:24 -07:00
Anton Sarukhanov 63b5dab0fc Add subclassing pattern/example to fix issue #221. 2016-06-02 14:17:42 -07:00
Jeff Widman 808d2cf75e Merge pull request #1861 from ryanbackman/master
Document Runtime Error when running outside of application context
2016-06-02 14:15:24 -07:00
Ryan Backman cbdd2aa141 Document Runtime Error when running outside of application context 2016-06-02 14:05:49 -07:00
Prachi Shirish Khadke d9a98dd536 Document flash message size limit
Reason: Messages of size 68,493 - 91,326 characters cause flash to fail silently.
Session cookies cannot have such large messages.

Issue: pallets/flask#1789
2016-06-02 11:59:04 -07:00
Jochen Kupperschmidt 83ae787f97 Fix typo in cli docs 2016-05-31 16:24:11 +02:00
Adam Chainz 70de011d51 Convert readthedocs link for their .org -> .io migration for hosted projects (#1827)
As per their email ‘Changes to project subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-05-29 15:49:38 +02:00
Markus Unterwaditzer f91aea2aa0 quickstart: Remove reference to `python hello.py`
Fix #1826
2016-05-29 15:46:48 +02:00
Armin Ronacher 42b7ab3f49 Incorporated ThiefMaster's suggestions for docs 2016-05-27 00:17:58 +02:00
Armin Ronacher 3e651e795a Added sentry to docs 2016-05-26 22:57:12 +02:00
Armin Ronacher 9594876c1f Added plugin support to the cli 2016-05-26 21:29:01 +02:00
Armin Ronacher f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Armin Ronacher 1df426aaaa More doc updates for FLASK_APP 2016-05-26 20:48:49 +02:00
Armin Ronacher a7d829c618 Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
ThiefMaster c5900a1adf s/1.0/0.11/ in versionadded/versionchanged markers
closes #1817
2016-05-23 14:43:23 +02:00
Markus Unterwaditzer e8bd2c9202 Merge pull request #1795 from cgoldberg/update-docs-setuptools
update docs and refer to setuptools
2016-05-08 21:58:38 +02:00
Stefan Wójcik e45e17c490 fix a grammar mistake (#1798) 2016-05-05 19:27:45 +02:00
Corey Goldberg 28b36f642d removed references to easy_install 2016-05-04 21:14:25 -04:00
Corey Goldberg 1cc9ccfc67 update docs and refer to setuptools 2016-05-03 11:55:36 -04:00
David Lord 317d60307d fix some warnings while building docs 2016-04-11 16:13:59 -07:00
Daniel Quinn be2abd2926 Fix typo (thing --> things) 2016-04-11 14:57:04 +02:00
Steven Loria 2bf477cfea Add JSONIFY_MIMETYPE configuration variable (#1728)
Allow jsonify responses' mimetype to be configured
2016-04-08 15:30:47 -07:00
Jeff Widman 8c595f1eba Remove dotCloud host instructions
dotCloud is no more; their parent company went bankrupt
2016-04-06 23:30:41 -07:00
Winston Kouch 594d1c5eb2 Add note to not use plain text passwords to views.rst 2016-04-05 18:53:08 +02:00
Keyan Pishdadian 1a877fbaa0 Remove extmigrate from Flask repo
* Remove extmigrate from Flask repo

* Update docs to reflect new repo location
2016-04-04 23:19:10 +02:00
Stéphane Raimbault b0105f41cc Extend documentation about uwsgi/nginx deployment 2016-04-04 08:53:34 +02:00
José Carlos García 567fff9d0d Change to Pallets project
* Update CHANGES

* Update CONTRIBUTING.rst

* Update setup.py

* Update tox.ini

* Update extensions.rst

* Update security.rst

* Update installation.rst

* Update testing.rst

* Update upgrading.rst

* Update sidebarintro.html

* Update jquery.rst

* Update dbcon.rst

* Update index.rst
2016-04-03 23:11:38 +02:00
Markus Unterwaditzer d3d8a4694a Deprecate flask.ext
* Add deprecation warning to ext pkg

* Add docs on deprecation of flask.ext

* Improve deprecation warnings

* Add headers for better distinction, fix ordering issue of paragraphs
2016-04-02 21:06:30 +02:00
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
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