James Farrington
2739bbfa03
Fixed #1846
2016-06-02 11:58:02 -07:00
Armin Ronacher
b80db7afac
Update CHANGES
2016-06-02 13:53:35 +02:00
Armin Ronacher
07ef6e3f22
Merge pull request #1848 from RaHus/add_version_switch_flask_cli
...
Add version switch to flask cli
2016-06-02 13:53:13 +02:00
RamiC
b79d3f3f35
Use the whole sys.version string
2016-06-02 13:55:00 +03:00
RamiC
ffa148810b
Add a --version switch to flask cli
...
re #1828
2016-06-02 13:35:16 +03:00
Armin Ronacher
52def9e8f6
Added test-requirements.txt. Refs #1835
2016-06-02 09:45:29 +02:00
Frédéric Chapoton
9fd0e3ba22
a few more python3-compatible print ( #1840 )
2016-05-31 21:20:22 +02:00
Jochen Kupperschmidt
0d038bcccb
Fix typo in cli docs
2016-05-31 16:24:11 +02:00
Yoav Ram
0dd2f0a88c
Update help to > set FLASK_APP=hello.py ( #1830 )
...
When running `flask --help`, the printed string contains this:
> Example usage:
>
> set FLASK_APP=hello
> set FLASK_DEBUG=1
> flask run
but it actually only works with `set FLASK_APP=hello.py` so the help should be changed.
This is true on my Windows 7 Python 3.5 flask 0.11 setup.
2016-05-30 23:20:35 +02:00
Jochen Kupperschmidt
38a7f718f7
Fixed link in changelog to documentation. ( #1833 )
...
Using the officially documented, shortcut package path of the `Config` class instead of the actual one.
2016-05-30 23:20:23 +02:00
Ionuț Arțăriși
cabcbbd9a5
Show line which caused the DeprecationWarning ( #1831 )
...
When raising a DeprecationWarning, show the line in the application code
which caused the warning, rather than the line in Flask
e.g. a file `app.py` with:
```python
from flask import Flask
from flask.ext.babel import Babel
```
will show:
```
app.py:2: ExtDeprecationWarning: Importing flask.ext.babel is
deprecated, use flask_babel instead.
```
instead of:
```
/home/mapleoin/venv/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.babel is deprecated, use flask_babel instead.
.format(x=modname), ExtDeprecationWarning
```
2016-05-29 14:51:05 -07: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
2adf5c8b48
This is 0.12-dev
2016-05-29 11:02:48 +02:00
Armin Ronacher
dfecf03e6b
Bump version number to 0.11
2016-05-29 11:02:23 +02:00
Armin Ronacher
96a08c43fd
Do not bump version in setup.py
2016-05-29 11:02:18 +02:00
Armin Ronacher
0a49b5cfec
Release is near
2016-05-29 11:01:22 +02:00
Armin Ronacher
f3ce8c3bee
Merge pull request #1823 from pallets/feature/sentry-docs
...
Added sentry to docs
2016-05-27 12:00:16 +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
c1496c7719
Merge pull request #1822 from pallets/bugfix/better-pop
...
Improve application context popping
2016-05-26 22:31:15 +02:00
Armin Ronacher
e6a152833b
Merge pull request #1821 from pallets/feature/plugin-cli
...
Added plugin support to the cli
2016-05-26 22:17:34 +02:00
Armin Ronacher
36e6ec9419
Merge pull request #1813 from pallets/bugfix/scheme
...
Resolve state issue for url_for with forced scheme
2016-05-26 21:48:20 +02:00
Armin Ronacher
308af2812e
Improve application context popping
...
Exceptions during teardown handling will no longer leave application
contexts lingering around. This fixes #1767
2016-05-26 21:46:56 +02:00
Armin Ronacher
17a90ce062
Merge pull request #1814 from pallets/feature/faster-template-loading
...
Fast path for disabled template load explain.
2016-05-26 21:34:56 +02:00
Armin Ronacher
d7f5bbb4e1
Added plugin support to the cli
2016-05-26 21:29:01 +02:00
Armin Ronacher
502f179643
Change changelog to 0.11
2016-05-26 21:05:39 +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
Armin Ronacher
3b98e39768
Implemented simplified CLI interface
2016-05-26 20:07:52 +02:00
dataforger
7108a51bbc
fix docstring ( #1818 )
...
change string to docstring
2016-05-24 21:06:34 +02:00
ThiefMaster
e9e7e5e0c5
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
2016-05-23 14:43:23 +02:00
Thomas Sanjurjo
b6a1091588
Addressing Issue 1809 ( #1811 )
...
document kwargs for Flask.register_blueprint
2016-05-22 07:09:21 -07:00
Armin Ronacher
6d1962521b
Fast path for disabled template load explain.
2016-05-22 11:36:40 +02:00
Armin Ronacher
d8437ce215
Resolve state issue for url_for with forced scheme
...
This fixes #1596
2016-05-22 10:45:29 +02:00
Armin Ronacher
f21bac3d66
Always run gc before leak test
2016-05-22 10:34:48 +02:00
Frédéric Chapoton
60ad97ad1c
turn 2 prints to py2/py3 compatible syntax ( #1812 )
2016-05-20 12:57:10 -07:00
Jannis Leidel
9c4a73013c
Forward ported CLI tests from Flask-CLI and fixed a bug with the CLI's name. ( #1806 )
...
* Forward port the CLI tests from Flask-CLI.
* Make sure the parameter passed to the CLI's AppGroup is the app's name, not the app itself.
2016-05-16 19:36:55 +02:00
Ronny Pfannschmidt
1ba722cd03
Merge pull request #1801 from ben4ever/fix_doc_with_formatting
...
Fix "with" formatting in doc
2016-05-09 07:44:17 +02:00
Benjamin Dopplinger
1d62574ce9
Fix "with" formatting in doc
2016-05-09 13:37:27 +10:00
Markus Unterwaditzer
0dadac1175
Merge pull request #1795 from cgoldberg/update-docs-setuptools
...
update docs and refer to setuptools
2016-05-08 21:58:38 +02:00
Stefan Wójcik
adae8303f7
fix a grammar mistake ( #1798 )
2016-05-05 19:27:45 +02:00
Corey Goldberg
e5ad984704
removed references to easy_install
2016-05-04 21:14:25 -04:00
Miguel Grinberg
22f804ff06
minor rewording of get_json documentation for clarity ( #1781 )
2016-05-04 06:46:49 -07:00
Corey Goldberg
8a03610ca3
update docs and refer to setuptools
2016-05-03 11:55:36 -04:00
David Lord
8d82cc1e4d
fix some warnings while building docs
2016-04-11 16:13:59 -07:00
Daniel Quinn
7d273da3f5
Fix typo (thing --> things)
2016-04-11 14:57:04 +02:00
Steven Loria
7d134e9556
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
2016-04-08 15:30:47 -07:00
Adrian
4a24a468a1
Correct spelling for Stack Overflow
2016-04-08 20:47:08 +02:00