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.
* 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
On issue #1773, we wanted use issue templates to accomplish two things:
1. guide questions into StackOverflow and IRC channel
2. not duplicate CONTRIBUTING content
To resolve these, ISSUE_TEMPLATE is added to remind users not
to ask questions.
Reason: Messages of size 68,493 - 91,326 characters cause flash to fail silently.
Session cookies cannot have such large messages.
Issue: pallets/flask#1789
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.
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
```
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.