Commit graph

1023 commits

Author SHA1 Message Date
Josh Soref
0f2c793e14 Spelling (#1998)
* spelling: cacheability

* spelling: conceptually

* spelling: javascript

* spelling: reset

* spelling: raised

* comma: instead..., they...
2016-08-30 00:26:20 +02:00
dawran6
faded8c5c7 sessions documentation (client side vs server side) #434 (#1888)
Mention the existence of Flask extentions that handle server-side
sessions.
Attempt to improve the reading flow.
2016-08-29 00:06:53 +02:00
Markus Unterwaditzer
a9757f8b1e Properly remove f.name usage in send_file (#1988)
* Properly remove f.name usage in send_file

* Update changelogs

* Fix tests
2016-08-26 03:08:03 +02:00
sanderl-mediamonks
5b867d25aa Use the correct Celery result backend setting 2016-08-22 11:49:52 +02:00
SaturnR
ee84b877cb Update for python3 (#1973)
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
2016-08-20 17:43:10 +02:00
teichopsia-
92d9c0122c Update testing.rst (#1987)
Python 3.4.2
TypeError: Type str doesn't support the buffer API
2016-08-19 19:01:13 -07:00
Auke Willem Oosterhoff
387add139b Use path of socket consistently accross document. (#1976)
* #1975 Use location of socket consistently accross document.
2016-08-03 09:22:14 -07:00
Shakib Hossain
4151970cee Update allowed_file function in fileuploads.rst
Update allowed_file function to accept lowercase and uppercase file extensions
2016-07-16 21:59:44 +06:00
David Lord
675e5297ad Merge branch '0.11-maintenance' 2016-07-05 17:34:51 -07:00
Kyle Lawlor
d83d72b480 Address #1902: Converts example/flaskr to have a setup.py (#1945)
* Converts example/flaskr to have a setup.py

Makes the flaskr app easier to run, ex. workflow:
- pip install --editable .
- export FLASK_APP=flaskr.flaskr
- flask initdb
- flask run

Testing is also easier now:
- python setup.py test

* Fixed an import error in flaskr/tests

- the statement `import flaskr` caused errors in python3
- `from . import flaskr` fixes the issue in 2.7.11 and 3.5.1

* Better project structure and updates the docs

- Re-factors *flaskr*'s project structure a bit
- Updates docs to make sense with the new structure
  - Adds a new step about installing Flask apps with setuptools
  - Switches first-person style writing to second-person (reads better IMO)
  - Adds segments in *testing.rst* for running tests with setuptools

* Remove __init__.py from tests

- py.test recommends not using __init__.py

* Fix testing import errors
2016-07-05 17:30:59 -07:00
Olexander Yermakov
f5dc8b3880 Update installation documentation for using 'pip' command (#1920) 2016-07-05 12:00:43 -07:00
David Lord
d775103a03 clean up code formatting in some docs
fix warnings while building docs
2016-06-26 13:03:29 -07:00
David Lord
77cfb9b226 remove unnecessary form action attributes 2016-06-22 15:01:41 -07:00
David Lord
e924bd3458 Revert "wtforms: Add missing closing tags in example (#1917)"
This reverts commit 146cba53e7.
2016-06-22 14:53:27 -07:00
Ameya Pandilwar
9e52e05486 Update documentation for upgrading Flask using 'pip' command (#1918) 2016-06-22 13:26:35 -07:00
Sudheer Satyanarayana
a098a9a625 Fix small typo in python3 docs
Add missing 'be'
2016-06-21 17:27:03 +02:00
Baptiste Fontaine
8e8e111e42 wtforms: Add missing closing tags in example (#1917) 2016-06-19 13:27:23 -07:00
dcfix
2b0f3c2fea 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
0598d344a7 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
cf0223b8a8 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
aabe35eef8 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
8849c044eb Clarify wording in App Context documentation. (#1890) 2016-06-06 13:03:01 +02:00
David Lord
e180c97459 clean up py3 info more 2016-06-05 15:45:39 -07:00
alatar-
270fc4f15b Update documentation about python 3 support in Flask, resolves #1578 2016-06-05 15:25:35 -07:00
David Lord
fda1effc4b move note about next param, add example, other cleanup 2016-06-05 14:21:17 -07:00
Ping Hu
7e5c3249be Add clarification for login_required decorator ref #313 2016-06-05 13:22:19 -07:00
David Lord
02fcbce94c use pip instead of setup.py in fabric command 2016-06-05 13:12:25 -07:00
David Lord
1f3a79be17 move setup.cfg info to setuptools docs, reword 2016-06-05 12:59:04 -07:00
Shawn McElroy
cbe6c91915 updating docs and showing how to use setup.cfg to configure dev builds with sdist 2016-06-05 12:50:44 -07:00
RamiC
058be53187 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
f3879b61ee Merge pull request #1868 from antsar/master
Rewrite subclassing example with a better use-case.
2016-06-03 14:55:33 +02:00
wldtyp
31c01aee58 Tutorial: Note extensions for encrypting passwords (#1854)
Fix #836
2016-06-03 01:00:55 -07:00
Hyunchel Kim
8ac309d6a1 Add a link to Extension Development (#1875) 2016-06-03 07:15:00 +02:00
Jason Brazeal
15493e0902 improved documentation for config.from_object (#1870) 2016-06-02 15:40:59 -07:00
Anton Sarukhanov
3caef65de8 Rewrite subclassing example with a better use-case. 2016-06-02 15:34:56 -07:00
Jeff Widman
7f94f41750 Merge pull request #1862 from antsar/master
Add subclassing pattern/example
2016-06-02 14:32:24 -07:00
Anton Sarukhanov
d9f57d67b3 Add subclassing pattern/example to fix issue #221. 2016-06-02 14:17:42 -07:00
Jeff Widman
059e4d5b7b 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
c3c3aebfe7 Document Runtime Error when running outside of application context 2016-06-02 14:05:49 -07:00
Prachi Shirish Khadke
a81dfe818e 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
0d038bcccb Fix typo in cli docs 2016-05-31 16:24:11 +02:00
Adam Chainz
fdb0ae918f 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
ae5bc44987 quickstart: Remove reference to python hello.py
Fix #1826
2016-05-29 15:46:48 +02:00
Armin Ronacher
9191d2d003 Incorporated ThiefMaster's suggestions for docs 2016-05-27 00:17:58 +02:00
Armin Ronacher
a2ce8f4c4a Added sentry to docs 2016-05-26 22:57:12 +02:00
Armin Ronacher
d7f5bbb4e1 Added plugin support to the cli 2016-05-26 21:29:01 +02:00
Armin Ronacher
e3cdb453fd 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Armin Ronacher
d8a22e272a More doc updates for FLASK_APP 2016-05-26 20:48:49 +02:00
Armin Ronacher
4cb36cbafc Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
ThiefMaster
e9e7e5e0c5 s/1.0/0.11/ in versionadded/versionchanged markers
closes #1817
2016-05-23 14:43:23 +02:00