Dave Barker
24289e97af
Add test for new template auto reload debug behaviour
9 years ago
Dave Barker
0514ba2de1
Enable template auto-reloading in app.run()
...
When Flask app debugging is enabled (app.debug==True), and Jinja2
template auto-reloading is not explicitly disbaled, template
auto-reloading should be enabled.
If the app is instantiated, the jinja_env object is accessed (thereby
initialising the Jinja2 environment) and the server is then started with
app.run(debug=True), template auto-reloading is *not* enabled.
This is because reading the jinja_env object causes the environment
initialisation function to set auto_reload to app.debug (which isn't yet
True). Calling app.run(debug=True) should correct this in order to
remain consistent with Flask code reloading (which is enabled within
app.run() if debug == True).
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
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.
9 years ago
Markus Unterwaditzer
f6b5b571dc
Fix several typos in python3.rst
...
- complicated -> complicates, since the effect continues into the
future. See #1891
- effect -> affect
- Rewrap paragraph
9 years ago
Ryan Backman
3384813151
Clarify wording in App Context documentation. ( #1890 )
9 years ago
David Lord
baa2689658
clean up py3 info more
9 years ago
alatar-
00c200eeaa
Update documentation about python 3 support in Flask, resolves #1578
9 years ago
David Lord
169a4e0c44
move note about next param, add example, other cleanup
9 years ago
Ping Hu
434c19933e
Add clarification for login_required decorator ref #313
9 years ago
David Lord
aa9a994946
use pip instead of setup.py in fabric command
9 years ago
David Lord
14a5a9e554
move setup.cfg info to setuptools docs, reword
9 years ago
Shawn McElroy
33212309a2
updating docs and showing how to use `setup.cfg` to configure dev builds with sdist
9 years ago
David Lord
7c271401b2
pass value directly to last_modified
9 years ago
Prachi Shirish Khadke
af515cc7ea
Add last_modified arg for send_file
...
Enhancement: Add last_modified arg of type DateTime to send_file.
Fixes pallets/flask#1321
9 years ago
Hyunchel Kim
64a37bb9b7
Test side effect ( #1889 )
...
Function `prepare_exec_for_file` has a side effect where a path is added to
`sys.path` list.
This commit enhances an exisiting test case for `prepare_exec_for_file`
by testing the side effect of the function and adding necessary
comments.
9 years ago
Markus Unterwaditzer
9f9e1fde8f
Merge pull request #1730 from geusebi/master
...
make safe_join behave like os.path.join with *args
9 years ago
Giampaolo Eusebi
06a170ea9b
Add tests for safe_join
9 years ago
Giampaolo Eusebi
03ea11fe76
Make safe_join able to safely join multiple paths
9 years ago
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
9 years ago
Josh
bbd6c8c791
Expanding contribution documentation ( #1883 )
...
- README updated with link to CONTRIBUTING.rst
- CONTRIBUTING.rst has instructions on running code coverage
9 years ago
dawran6
e048aa4e19
Add negative test for json.jsonify ( #1876 )
...
Test if jsonify function raises TypeError when both args and kwargs are
passed in.
Check the TypeError's message
9 years ago
Markus Unterwaditzer
225c311f1b
Merge branch '0.11-maintenance'
9 years ago
Markus Unterwaditzer
2bde2065e6
Changelog for #1872
9 years ago
Markus Unterwaditzer
b080bb19a1
Merge branch '0.11-maintenance'
9 years ago
Josiah Philipsen
41e08f4ccd
fixed unmatched elif
...
Also update relevant test
9 years ago
jphilipsen05
fe5f714026
fixed unmatched elif ( #1872 )
9 years ago
James Farrington
f034d2e271
Tests with and without simplejson for every existing testenv ( #1869 )
9 years ago
Markus Unterwaditzer
ae97ca8553
Merge pull request #1868 from antsar/master
...
Rewrite subclassing example with a better use-case.
9 years ago
Dan Sully
8458cc5cd1
Remove deprecation warnings for add_etags & mimetype guessing for send_file()
...
Fix #1849
9 years ago
Markus Unterwaditzer
3d72099dcd
Merge pull request #1878 from untitaker/recwarn
...
Use recwarn everywhere
9 years ago
Markus Unterwaditzer
6c359e0f53
Eliminate some resource warnings
9 years ago
Markus Unterwaditzer
293eb583f6
More explicit warning categories
9 years ago
Markus Unterwaditzer
d393597c50
Use recwarn everywhere
...
...instead of custom fixture. Also assert that no warnings are left over
after the test.
9 years ago
wldtyp
fa327fd4fa
Tutorial: Note extensions for encrypting passwords ( #1854 )
...
Fix #836
9 years ago
Hyunchel Kim
62aaee02f7
Add a link to Extension Development ( #1875 )
9 years ago
jphilipsen05
047efac537
Coverage for test_static_path_deprecated and test_static_url_path ( #1860 )
9 years ago
Jason Brazeal
d88c08e56f
improved documentation for config.from_object ( #1870 )
9 years ago
Anton Sarukhanov
447f591d2b
Rewrite subclassing example with a better use-case.
9 years ago
David Lord
024fbe5a60
Revert "Adds simplejson as a testing target." ( #1865 )
9 years ago
Jeff Widman
a228a3b2cf
Merge pull request #1862 from antsar/master
...
Add subclassing pattern/example
9 years ago
Adrian
db299c02a1
Improve GitHub issue template
9 years ago
Anton Sarukhanov
63b5dab0fc
Add subclassing pattern/example to fix issue #221 .
9 years ago