Commit graph

2035 commits

Author SHA1 Message Date
Petr Zemek
ec3d5800f2 Put two spaces before inline comments when there is only one space.
PEP8 (E261) suggests to use at least two spaces before inline comments.
2014-10-27 11:24:15 +01:00
Petr Zemek
4840fc0edc Change == None to is None.
PEP8 (E711) suggests that comparison to None should be `cond is None`.
2014-10-27 11:17:49 +01:00
Petr Zemek
e41bf1e181 Remove two redundant empty lines.
PEP8 suggests to use two empty lines to separate functions, not three.
2014-10-27 11:13:03 +01:00
Petr Zemek
47d7f20d9b Fix two typos in the description of FlaskGroup. 2014-10-27 11:03:07 +01:00
Markus Unterwaditzer
fe2d75e1f4 Merge pull request #1213 from defuz/config-patch
Add trim_namespace argument for app.config.get_namespace (with tests)
2014-10-25 12:54:59 +02:00
Markus Unterwaditzer
7b3e52b06f Merge pull request #1217 from jeffwidman/patch-1
Fix typo: "lated later" >> "added later"
2014-10-25 12:46:08 +02:00
Jeff Widman
193b94b0ea Fix typo: "lated later" >> "added later" 2014-10-25 03:14:01 -07:00
defuz
5e8d503098 add tests for trim_namespace argument of app.config.get_namespace 2014-10-24 13:11:10 +04:00
Bryan Stitt
bbd9c2f100 Update config.py 2014-10-24 13:11:10 +04:00
Bryan Stitt
56a7e8361d Update config.py
I want to load all of my `CELERY_` options from the config and leave `CELERY_` on there.
2014-10-24 13:11:10 +04:00
Markus Unterwaditzer
a8c36fb3d8 Merge branch 'compressed-jsonify'
Fix #1203
2014-10-21 19:12:05 +02:00
Markus Unterwaditzer
bd232e5c82 PEP8 2014-10-21 19:11:54 +02:00
Gilman Callsen
d425279650 Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.
Commit includes Changelog entry and two new tests in test_basic.py.
2014-10-21 19:11:06 +02:00
Markus Unterwaditzer
050a659c2f Merge branch 'test-client-kwargs'
Fix #992
2014-10-20 21:21:53 +02:00
Matt Wright
986b92203a Add CHANGES entry and versionchanged entry to docstring 2014-10-20 21:21:30 +02:00
Matt Wright
44c025f552 Add a little documentation regarding kwargs in the app.test_client() method 2014-10-20 21:21:30 +02:00
Matt Wright
fed6fd32d8 Pass keyword args from test_client method to client class constructor 2014-10-20 21:21:30 +02:00
Markus Unterwaditzer
6b3fbb323a Add changelog entry for #1206 2014-10-19 19:54:41 +02:00
Markus Unterwaditzer
46918d3ceb Merge pull request #1206 from methane/deprecate-request.json
Deprecate request.json property
2014-10-19 19:53:26 +02:00
INADA Naoki
4d4a639ba4 Add test for deprecated flask.Request properties. 2014-10-15 03:32:04 +09:00
INADA Naoki
61097c47a3 Deprecate request.json property 2014-10-15 02:21:52 +09:00
Markus Unterwaditzer
7169f44d88 Various fixes for test running
Fix #1199
2014-10-08 23:12:18 +02:00
Markus Unterwaditzer
97dc687793 Merge pull request #619 from QuentinRoy/master
Fix missing argument in find_module of flaskext_compat.py
2014-10-07 19:01:17 +02:00
Markus Unterwaditzer
d76ca43a58 Merge pull request #1196 from davide-ceretti/add-tearing-down-signal-unittest
Add unittest for appcontext_tearing_down signal
2014-10-07 13:09:13 +02:00
Davide Ceretti
93c190a8fd Add unittest for appcontext_tearing_down signal 2014-10-07 07:34:19 +01:00
Markus Unterwaditzer
b9237121ec Don't include doc themes in sdist 2014-09-29 21:49:40 +02:00
Markus Unterwaditzer
a18dedc5d3 Merge pull request #1191 from nluchs/patch-2
Minor typo in errorpages.rst
2014-09-28 07:11:39 +02:00
Markus Unterwaditzer
60fcc05c47 Merge pull request #1192 from nluchs/patch-3
Minor typos in sqlite3.rst
2014-09-28 07:10:27 +02:00
Nick Luchsinger
37fb0516f4 Minor typos in sqlite3.rst
Self-explanatory.
2014-09-27 18:39:43 -07:00
Nick Luchsinger
55db14ec68 Minor typo in errorpages.rst 2014-09-27 15:34:08 -07:00
Markus Unterwaditzer
a25ee7e060 Merge pull request #1186 from llimllib/master
some grammar fixes in docs/appcontext
2014-09-26 19:22:41 +02:00
Markus Unterwaditzer
11fa387748 Merge pull request #1187 from bdarnell/patch-1
Stop recommending Tornado as a WSGI server
2014-09-25 17:21:44 +02:00
Ben Darnell
e401a83fc5 Stop recommending Tornado as a WSGI server
Tornado's WSGI server is less scalable than the alternatives and only really makes sense when you have a specific need to run both WSGI apps and Tornado-native apps in the same process. This recommendation has been an ongoing source of confusion, e.g. http://stackoverflow.com/questions/26015116/making-tornado-to-serve-a-request-on-a-separate-thread.

Fixes #986.
2014-09-25 09:35:46 -04:00
Bill Mill
3b3c5b8bf3 some grammar fixes in appcontext
* "in lack of" -> "for lack of"
* pillar's -> pillars
* ~~however~~
* a touch of cleanup to the "two ways" paragraph
* ~~on there~~
* "database connects" -> "database connections"
2014-09-21 23:03:41 -04:00
Markus Unterwaditzer
c6795eb626 Remove useless unittest imports 2014-09-21 16:47:38 +02:00
Markus Unterwaditzer
2401e21efd Merge pull request #1183 from k-funk/patch-1
Update quickstart.rst
2014-09-20 13:38:47 +02:00
Markus Unterwaditzer
67bee61533 Merge pull request #1164 from pbu88/run_tests
Adds 2 tests for Flask.run method
2014-09-20 09:00:03 +02:00
Markus Unterwaditzer
7550f43545 Merge pull request #1185 from defuz/patch-2
Fix typo in changelog
2014-09-20 08:57:47 +02:00
Ivan Ivaschenko
056bd0e6d4 Fix typo in changelog 2014-09-20 10:41:46 +04:00
Kevin Funk
0632d53f3d Update quickstart.rst
url converters: match the [API docs](http://flask.pocoo.org/docs/0.10/api/#url-route-registrations)
2014-09-19 15:22:37 -07:00
Markus Unterwaditzer
4f5d3eab06 Merge pull request #1181 from kelvintaywl/examples/fix_readme
fix typo in in README of examples (i.e., filename of test files)
2014-09-18 15:37:43 +02:00
tay-k
f95acc64d6 fix filename of test files in README of examples 2014-09-18 18:21:36 +09:00
Paulo Bu
3f67fe94f1 Adds 2 tests for Flask.run method 2014-09-14 17:27:19 +02:00
Markus Unterwaditzer
80283d6c59 Merge pull request #1175 from pbu88/update_readme
Update tests section in README file
2014-09-13 11:47:42 +02:00
Paulo Bu
ef19d663c0 Update tests section in README file 2014-09-13 10:29:28 +02:00
Markus Unterwaditzer
73ca86587d Add changelog 2014-09-12 21:55:49 +02:00
Markus Unterwaditzer
bb94a612fd Merge pull request #1165 from untitaker/new_testsuite
Port testsuite to py.test
2014-09-12 21:54:59 +02:00
Markus Unterwaditzer
192da325f8 Testsuite is not a package 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
56db3ddf4e Remove useless imports 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
4fca38c078 remove audit command 2014-09-11 22:09:52 +02:00