Armin Ronacher
9cd32cac32
Corrected after response for error handlers
...
Before this change after request functions were not correctly
invoked for error handlers.
8 years ago
Markus Unterwaditzer
dbcd64e2ee
Changelog for #2006
8 years ago
Markus Unterwaditzer
c4ec6954e5
Don't passthrough_errors unless instructed. ( #2006 )
...
Fix #2005
Revert #1679 and #1996
8 years ago
Afonso Queirós
ccd02bfe8c
Correcting Custom Test Client class docs ( #2004 )
8 years ago
Roman
92ce20eeac
Fix error in send_file helper ( #2003 )
...
* Fix error in send_file (mimetype_filename is not defined)
* fix formatting error message in send_file
8 years ago
PHeanEX
96b6345c1a
Fix small grammar error (Of/Or) ( #2001 )
8 years ago
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
8 years ago
dawran6
3d856e03fc
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.
8 years ago
Markus Unterwaditzer
78a71a48dc
Merge pull request #1996 from untitaker/propagate-exceptions-werkzeug
...
Only passthrough_errors if PROPAGATE_EXCEPTIONS
8 years ago
Markus Unterwaditzer
098ea0c8ca
Only passthrough_errors if PROPAGATE_EXCEPTIONS
...
See pallets/werkzeug#954
8 years ago
Markus Unterwaditzer
71e10be286
Properly remove f.name usage in send_file ( #1988 )
...
* Properly remove f.name usage in send_file
* Update changelogs
* Fix tests
8 years ago
sanderl-mediamonks
3313b8b0a4
Use the correct Celery result backend setting
8 years ago
David Lord
f193f590bc
clean up new json tests
8 years ago
Nathan Land
f16e477b2a
Add tests for flask.json.dump() and test that jsonify correctly converts uuids.
8 years ago
Anton Sarukhanov
9121e109bd
Add test for get_version (CLI) ( #1884 )
8 years ago
SaturnR
55bd39c7f0
Update for python3 ( #1973 )
...
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
8 years ago
teichopsia-
5044f3d610
Update testing.rst ( #1987 )
...
Python 3.4.2
TypeError: Type str doesn't support the buffer API
8 years ago
Nate Prewitt
0f1cf50f97
adding in try around __import__ to catch invalid files/paths ( #1950 )
8 years ago
Auke Willem Oosterhoff
e6d7a43ccd
Use path of socket consistently accross document. ( #1976 )
...
* #1975 Use location of socket consistently accross document.
9 years ago
Jeff Widman
9359e9f911
Remove unused Redbaron dependency ( #1967 )
9 years ago
ahmedakef
c54d67adee
close <li> tag in lines (16,18) ( #1951 )
...
i noticed that <li> tag haven't closed in lines 15,18
which is bad practice as if i put "some thing : <h1> some text </h1>" in the text-area all the other articles become <h1> so big and color blue
9 years ago
Armin Ronacher
80b9453bdd
Merge pull request #1956 from shakib609/master
...
Update allowed_file function in fileuploads.rst
9 years ago
Shakib Hossain
fe53da45c5
Update allowed_file function in fileuploads.rst
...
Update allowed_file function to accept lowercase and uppercase file extensions
9 years ago
David Lord
495d834b99
Merge branch '0.11-maintenance'
9 years ago
David Lord
1e5746bb2b
persona is discontinued, remove example
...
closes #1947
9 years ago
David Lord
633b13e9b5
Merge branch '0.11-maintenance'
9 years ago
Kyle Lawlor
17d4cb3828
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
9 years ago
Hyunchel Kim
f19d3bd67e
Enhance tests.test_cli.test_find_best_app ( #1882 )
...
This commit adds a test case for `test_find_best_app` where
Module object does not contain Flask application.
Also cleans the function little bit to provides more meaningful comment.
9 years ago
Olexander Yermakov
b7a0cc61c5
Update installation documentation for using 'pip' command ( #1920 )
9 years ago
georgschoelly
67e391921c
fix docs: name of url_value_preprocessor method ( #1932 )
...
This typo got introduced in 5da1fc2215
,
the original commit for the url_value_preprocessor decorator.
9 years ago
David Lord
1928f28a68
clean up code formatting in some docs
...
fix warnings while building docs
9 years ago
David Lord
0e4607000d
re-add passthrough_errors to cli runner ( #1928 )
...
This got dropped during the cli simplification. Re: #1679
9 years ago
David Lord
cd1a9b7d54
remove unnecessary form action attributes
9 years ago
David Lord
d8c39f4b37
Revert "wtforms: Add missing closing tags in example ( #1917 )"
...
This reverts commit 146cba53e7
.
9 years ago
Ameya Pandilwar
663d786f68
Update documentation for upgrading Flask using 'pip' command ( #1918 )
9 years ago
Sudheer Satyanarayana
1ffd07ff5a
Fix small typo in python3 docs
...
Add missing 'be'
9 years ago
Baptiste Fontaine
146cba53e7
wtforms: Add missing closing tags in example ( #1917 )
9 years ago
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
9 years ago
Archie Roller
b8aca21a39
Fix #1911 ( #1913 )
9 years ago
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.
9 years ago
Markus Unterwaditzer
c80ea941d0
Merge pull request #1912 from pallets/revert-1811-iss1809_register_blueprint_docs
...
Revert "Addressing Issue 1809"
9 years ago
Markus Unterwaditzer
5c12721730
Revert "Addressing Issue 1809"
9 years ago
Markus Unterwaditzer
433c561494
Merge branch '0.11-maintenance'
9 years ago
Markus Unterwaditzer
6e46d0cd39
Fix PyPy3 support and add bug references
...
Fix #1841
9 years ago
Markus Unterwaditzer
4f83f705e7
Merge pull request #1881 from antsar/master
...
Add test for find_default_import_path
9 years ago
Markus Unterwaditzer
b990d80764
Merge branch '0.11-maintenance'
9 years ago
Markus Unterwaditzer
724f04d305
This is 0.11.2-dev
9 years ago
Markus Unterwaditzer
d1d82ca8ce
Bump version to 0.11.1
9 years ago
Anton Sarukhanov
5eaed37116
Add test for find_default_import_path
9 years ago
Markus Unterwaditzer
6a3a209f41
Merge pull request #1892 from avborhanian/patch-1
...
Updating url in errorhandling.rst to a valid link
9 years ago