Commit graph

733 commits

Author SHA1 Message Date
Markus Unterwaditzer
bb0084f5be Fix Py3 compat bug
Also don't use unicode string here because the assertions below are
written for native strings.
2014-09-03 19:17:43 +02:00
Armin Ronacher
84f57b6bda Fixed a relative import 2014-09-03 18:31:30 +02:00
Armin Ronacher
bafc139810 Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded. 2014-09-03 17:57:51 +02:00
Markus Unterwaditzer
f17ad953dd Fix syntax error on py3 2014-09-03 15:27:06 +02:00
Armin Ronacher
ed49fe3db1 Removed leftover from the module system. 2014-09-03 14:58:32 +02:00
Armin Ronacher
9eb59b0bef Added support for background loading of the application to speed up initial requests in dev mode. 2014-09-02 16:20:46 +02:00
Aaron Schumacher
05ad436201 typo: "weather" -> "whether" 2014-08-28 13:35:53 -04:00
Markus Unterwaditzer
96d7cc933a Merge pull request #1161 from pbu88/master
Fix warnings and code styling in the doc
2014-08-28 17:02:27 +02:00
Paulo Bu
b81f72070e Fix warnings and code styling in the doc
There was a blank line missing that was generating a warning when
building the doc. Also, a removed function from cli.py was left in api.rst
(without_appcontext specifically) so this was also generating warnings.

Also corrects the format for a code block and adds a link to Werkzeug's Headers
class.
2014-08-28 16:51:53 +02:00
Markus Unterwaditzer
c2ed8d61c3 Merge pull request #1158 from untitaker/protocol-relative
Document building protocol-relative URLs
2014-08-28 16:09:55 +02:00
Armin Ronacher
a94e767acb AppGroups produce more AppGroups 2014-08-28 09:35:06 +02:00
Armin Ronacher
9641f07d91 Made FlaskGroup an AppGroup 2014-08-28 08:56:58 +02:00
Markus Unterwaditzer
7183aefd62 Document building protocol-relative URLs
https://github.com/mitsuhiko/werkzeug/pull/528
2014-08-27 13:34:10 +02:00
Armin Ronacher
7c16054d81 Updated the logging documentation for recent changes. 2014-08-27 01:22:01 +02:00
Armin Ronacher
817b72d484 Removed deprecated module functionality 2014-08-27 01:12:33 +02:00
Armin Ronacher
84ad89ffa4 Always log now, even if debug is off. 2014-08-27 01:08:19 +02:00
Daniel Neuhäuser
7d57c29f7a Merge pull request #1156 from brwr/brwr/fix-documentation-typo
Add missing `of` to documentation.
2014-08-26 12:29:57 +02:00
Armin Ronacher
662b1053a4 Added support for PYTHONSTARTUP to shell command. 2014-08-26 12:07:09 +02:00
Armin Ronacher
9bf36151d9 Removed dead import 2014-08-26 10:29:07 +02:00
Armin Ronacher
9123fa3b8f Added a missing self 2014-08-26 10:14:27 +02:00
Armin Ronacher
2f60124894 Removed ridiculous constructor from AppGroup 2014-08-26 10:09:17 +02:00
James Brewer
20645d9b86 Add missing of to documentation. 2014-08-25 22:18:08 -07:00
Armin Ronacher
932f7d7cbb Refactored the scripting interface greatly. 2014-08-25 16:50:22 +02:00
Armin Ronacher
66ef55ce0a Converted a leftover old-style click callback. 2014-08-25 15:43:27 +02:00
Armin Ronacher
f6d25bbc4f Switch to newer click (2.0) 2014-08-12 23:23:52 +02:00
Markus Unterwaditzer
b49074eb6b Add documentation about url_for's default scheme
Fix #1129
2014-08-11 11:56:55 +02:00
Daniel Neuhäuser
486c1089b0 Base from_json on from_mapping 2014-07-27 13:21:14 +02:00
Daniel Neuhäuser
aa40b1731e Add Config.from_mapping 2014-07-27 13:09:14 +02:00
Shipeng Feng
bf3708609a Fixed typo in _compat.py 2014-06-15 12:42:34 +08:00
Jakub Stasiak
4541910381 Get rid of _tag->closure->_tag reference cycle 2014-06-04 14:47:26 +01:00
Shalabh Aggarwal
1f5927eee2 Fixed a small typo with flask.g docstring 2014-05-14 09:15:34 +05:30
Kenneth Reitz
bd51d2b88c Merge pull request #1052 from miguelgrinberg/master
fixed import for python 3
2014-05-12 12:22:57 -04:00
Armin Ronacher
937ad10275 Simplified app finding for cli 2014-05-12 02:16:38 +02:00
Armin Ronacher
7321a480ea Simplified click integration a bit 2014-05-12 02:16:38 +02:00
Miguel Grinberg
224367fe98 fixed import for python 3 2014-05-09 07:48:08 -07:00
Armin Ronacher
fa6eded6f5 Fixed the cli system failing syntax errors. 2014-05-08 22:33:58 +02:00
Armin Ronacher
1b77a3fb11 Made errors for working outside of contexts clearer. 2014-05-07 22:26:50 +02:00
Armin Ronacher
5693b9d730 Merge branch 'pr/839' 2014-05-07 21:53:59 +02:00
Armin Ronacher
e3a81497f9 Merge pull request #1040 from schlamar/patch-1
Fixed typo.
2014-05-07 21:44:30 +02:00
Armin Ronacher
3569fc2441 Greatly refactored click integration and documented it a bit more. 2014-05-07 21:35:51 +02:00
Marc Schlaich
44b0aeb048 Fixed typo. 2014-05-07 15:53:19 +02:00
Armin Ronacher
81576c236a Further refactored script system to allow more customization for special apps. 2014-05-07 13:27:41 +02:00
Armin Ronacher
ed7b4ccac1 Refactored loading logic to super properly. 2014-05-07 11:36:49 +02:00
Armin Ronacher
4532e89efe Refactored script info to allow more advanced patterns. 2014-05-07 11:34:20 +02:00
Armin Ronacher
d2d8e66130 Fixed flask tests 2014-05-02 11:46:04 +01:00
Armin Ronacher
e059bf311c Improved support for composable cli 2014-05-01 13:44:11 +01:00
Armin Ronacher
3be7d918ce Merge branch 'master' of github.com:mitsuhiko/flask 2014-04-29 01:33:58 +02:00
Armin Ronacher
a3ad5405a6 Updated documentation once more for new cli. 2014-04-29 01:03:32 +02:00
Erik Rose
ed9e458850 Fix a docstring type in cli.py. 2014-04-28 11:26:18 -04:00
Armin Ronacher
bacdd076bd Add "." to sys.path by default 2014-04-28 15:15:58 +02:00