Anton Sarukhanov
447f591d2b
Rewrite subclassing example with a better use-case.
9 years ago
Anton Sarukhanov
63b5dab0fc
Add subclassing pattern/example to fix issue #221 .
9 years ago
Armin Ronacher
41f3d67dff
Update CHANGES
9 years ago
Armin Ronacher
19b134002c
Merge pull request #1848 from RaHus/add_version_switch_flask_cli
...
Add version switch to flask cli
9 years ago
RamiC
6b28ceba83
Use the whole sys.version string
9 years ago
RamiC
6bee3e4995
Add a --version switch to flask cli
...
re #1828
9 years ago
Armin Ronacher
fd1a355899
Added test-requirements.txt. Refs #1835
9 years ago
Frédéric Chapoton
e4c712ffd2
a few more python3-compatible print ( #1840 )
9 years ago
Jochen Kupperschmidt
83ae787f97
Fix typo in cli docs
9 years ago
Yoav Ram
a725836523
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.
9 years ago
Jochen Kupperschmidt
9c46969890
Fixed link in changelog to documentation. ( #1833 )
...
Using the officially documented, shortcut package path of the `Config` class instead of the actual one.
9 years ago
Ionuț Arțăriși
ba07f5bd81
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
```
9 years ago
Adam Chainz
70de011d51
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.
9 years ago
Markus Unterwaditzer
f91aea2aa0
quickstart: Remove reference to `python hello.py`
...
Fix #1826
9 years ago
Armin Ronacher
b23cd61e04
This is 0.12-dev
9 years ago
Armin Ronacher
13e6a01ac8
Bump version number to 0.11
9 years ago
Armin Ronacher
1eccb62965
Do not bump version in setup.py
9 years ago
Armin Ronacher
0e06302c79
Release is near
9 years ago
Armin Ronacher
e83d608d7d
Merge pull request #1823 from pallets/feature/sentry-docs
...
Added sentry to docs
9 years ago
Armin Ronacher
42b7ab3f49
Incorporated ThiefMaster's suggestions for docs
9 years ago
Armin Ronacher
3e651e795a
Added sentry to docs
9 years ago
Armin Ronacher
8d7e7aab31
Merge pull request #1822 from pallets/bugfix/better-pop
...
Improve application context popping
9 years ago
Armin Ronacher
c73cf0f82e
Merge pull request #1821 from pallets/feature/plugin-cli
...
Added plugin support to the cli
9 years ago
Armin Ronacher
b13e83a2f2
Merge pull request #1813 from pallets/bugfix/scheme
...
Resolve state issue for url_for with forced scheme
9 years ago
Armin Ronacher
8482ce6b8c
Improve application context popping
...
Exceptions during teardown handling will no longer leave application
contexts lingering around. This fixes #1767
9 years ago
Armin Ronacher
87787b130b
Merge pull request #1814 from pallets/feature/faster-template-loading
...
Fast path for disabled template load explain.
9 years ago
Armin Ronacher
9594876c1f
Added plugin support to the cli
9 years ago
Armin Ronacher
21d595bee7
Change changelog to 0.11
9 years ago
Armin Ronacher
f9ea3fe026
1.0 -> 0.11 in the docs
9 years ago
Armin Ronacher
1df426aaaa
More doc updates for FLASK_APP
9 years ago
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
9 years ago
Armin Ronacher
523e271183
Implemented simplified CLI interface
9 years ago
dataforger
92f63a1c1d
fix docstring ( #1818 )
...
change string to docstring
9 years ago
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
9 years ago
Thomas Sanjurjo
bdbca923ef
Addressing Issue 1809 ( #1811 )
...
document kwargs for Flask.register_blueprint
9 years ago
Armin Ronacher
96ec24f6e0
Fast path for disabled template load explain.
9 years ago
Armin Ronacher
6aee9f6d77
Resolve state issue for url_for with forced scheme
...
This fixes #1596
9 years ago
Armin Ronacher
883cb7cedc
Always run gc before leak test
9 years ago
Frédéric Chapoton
c810fae9e8
turn 2 prints to py2/py3 compatible syntax ( #1812 )
9 years ago
Jannis Leidel
88500f5cc7
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.
9 years ago
Ronny Pfannschmidt
8011e1de28
Merge pull request #1801 from ben4ever/fix_doc_with_formatting
...
Fix "with" formatting in doc
9 years ago
Benjamin Dopplinger
9f4c569c83
Fix "with" formatting in doc
9 years ago
Markus Unterwaditzer
e8bd2c9202
Merge pull request #1795 from cgoldberg/update-docs-setuptools
...
update docs and refer to setuptools
9 years ago
Stefan Wójcik
e45e17c490
fix a grammar mistake ( #1798 )
9 years ago
Corey Goldberg
28b36f642d
removed references to easy_install
9 years ago
Miguel Grinberg
de25e98f91
minor rewording of get_json documentation for clarity ( #1781 )
9 years ago
Corey Goldberg
1cc9ccfc67
update docs and refer to setuptools
9 years ago
David Lord
317d60307d
fix some warnings while building docs
9 years ago
Daniel Quinn
be2abd2926
Fix typo (thing --> things)
9 years ago
Steven Loria
2bf477cfea
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
9 years ago