ka7
e13eaeeaf2
Fix typo in docs ( #2237 )
8 years ago
Grey Li
ec18fe9477
Add example for virtualenv integration in cli docs ( #2234 )
8 years ago
Adam Geitgey
ae1ac2053b
Correct imports in file upload example ( #2230 )
...
The example code uses `flash` but doesn't import it. So the code as written doesn't work.
This simply adds `flash` to the list of imports in the sample code.
8 years ago
Jan Ferko
1add1f8a02
Use print function in quickstart ( #2204 )
...
Example in URL Building section uses `print` statement
instead of `print` function, which causes syntax error
when example is run on Python 3.
8 years ago
Ben
7a5e8ef38e
Fix broken link ( #2202 )
8 years ago
Hsiaoming Yang
a7f1a21c12
Don't rely on X-Requested-With for pretty print json response ( #2193 )
...
* Don't rely on X-Requested-With for pretty print json response
* Fix test cases for pretty print json patch
* Fix gramma error in docs for pretty print json config
* Add changelog for JSONIFY_PRETTYPRINT_REGULAR
8 years ago
Static
f5adb61b28
Fix typos/grammar in docs ( #2201 )
8 years ago
Elton Law
06112a555a
Close <li> tag in tutorial ( #2199 )
...
Change was merged in the example code but wasn't changed in the docs. c54d67adee
8 years ago
Grey Li
c43560777a
Add tips for debug config with flask cli ( #2196 )
...
* Add tips for debug config with flask cli
`app.debug` and `app.config['DEBUG']` are not compatible with the `flask` script.
* Grammar fix
* Grammar fix
8 years ago
Sebastian Kalinowski
fca5577a00
Remove extra HTML tag from fileupload docs ( #2141 )
8 years ago
Timothy John Perisho Eccleston
dc5f48f587
Fix typo in docs/tutorial/templates.rst ( #2186 )
8 years ago
Jeff Widman
bb0e755c80
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
8 years ago
vojtekb
95db82f8f7
py.test => pytest ( #2173 )
...
py.test => pytest
8 years ago
Swan Htet Aung
f84fdadda9
Update 4.4.3 HTTP Methods Example
...
Otherwise it produces `ValueError: View function did not return a response`.
8 years ago
Jeff Widman
fe7910ccd5
Update docs that request is an object, not a class ( #2154 )
...
Cleanup sphinx formatting to show that `request` is an object, not a class. The actual class name is `Request`.
Based on discussion [here](https://github.com/pallets/flask/pull/2151#issuecomment-272699147 ).
8 years ago
Dennis Chen
9900a72fe7
Fix Request Reference ( #2151 )
...
Points flask.Request to appropriate place in the documentation.
8 years ago
Ondřej Nový
9dcfd05d29
Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
...
Details: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
8 years ago
Adrian Moennich
88111ae6bf
Do not suggest deprecated flask.ext.*
8 years ago
Bryce Guinta
09973a7387
Fix fastcgi lighttpd example documentation. ( #2138 )
...
Add a trailing slash to the dummy path in the fastcgi lighttpd setup
documentation. Omitting a trailing slash leads to unintended behavior.
8 years ago
wgwz
1b7258f816
Provides a link to the examples src
...
- moved the link towards the top for better visibility
8 years ago
Markus Unterwaditzer
49386ee69e
Inherit Werkzeug docs ( #2135 )
...
Fix #2132
8 years ago
wgwz
949771adf5
Add reference to largerapp src in docs
8 years ago
Gábor Lipták
079d752cec
Update Flask-SQLAlchemy link ( #2126 )
8 years ago
Sven-Hendrik Haase
0ba1a872b7
Style the flask command consistently ( #2120 )
...
It's done like this in other parts of this doc.
8 years ago
Sven-Hendrik Haase
ccb562854e
Remove wrong comma ( #2116 )
8 years ago
ezramorris
4a8bf651d9
Add link to AWS EB Flask tutorial
8 years ago
Jannis Leidel
4cf4229355
Fix rST rendering of env var ( #2085 )
...
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
8 years ago
Giles Thomas
281c9c3ff9
Added a link to instructions for PythonAnywhere ( #2081 )
8 years ago
Tery Lim
ec9717502f
Update errorhandling.rst ( #2075 )
...
Fix LogRecord class reference.
8 years ago
Tery Lim
bbe58a4944
Update errorhandling.rst ( #2074 )
8 years ago
Shandy Brown
9685d14eaa
Correct grammar ( #2061 )
8 years ago
Kyle Lawlor
fa087c8929
Fixes import statement in flaskr ( #2068 )
...
- `from flaskr.flaskr import app` in flaskr/__init__.py
causes an import error with Python 2
- The relative import now used works for py2 and py3
8 years ago
Ionuț Ciocîrlan
2cc76628d2
Fix grammar in docs
8 years ago
David Lord
cdbd63d7de
Windows venv is Scripts, capital S
...
closes #2056
8 years ago
Michael Recachinas
49ecc88d99
Remove `-a/--app` from Quickstart documentation ( #2046 )
...
* Remove `-a/--app` from Quickstart documentation
As mentioned in #2009 , simplifying the CLI saw the removal of the `-a/--app` flag. Therefore, the only way to specify the module to import is by setting `FLASK_APP`.
* Remove misleading `either` from CLI help
The CLI help details how to run the application, but still uses the phrasing "either through the `FLASK_APP`...". This likely is an artifact from when `-a/--app` was still present in the CLI.
8 years ago
Douglas Thor
a6a36ec72a
Updated mod_wsgi.rst to point to new mod_wsgi repo ( #2038 )
8 years ago
Markus Unterwaditzer
dcfdfc6476
Use abort docs from Werkzeug
...
Fix #1960
8 years ago
Andrew Arendt
270355abdc
Remove nonsense from cli docs
8 years ago
Armin Ronacher
11f3a3f6dd
Updated upgrade docs
8 years ago
Kyle Lawlor
59104db2f2
Address #1980 ( #2021 )
...
* Distinguish between directories and files
* Convert larger apps to make use of setup.py
- replaces runserver.py with setup.py
- example now runs with recommended structure
* Fixes a typo and formats the added paragraph
8 years ago
Kyle Lawlor
e6f9d2b414
Clean up tutorial docs for installable app pattern with flaskr ( #2002 )
...
* Clean up tutorial docs for installable app pattern
- reading sequentially through the tutorial works.
- fixes references to `export FLASK_APP=flaskr.flaskr`
* Fixes titles for each section of flaskr tutorial
* Revert grammar
* Emphasize the Packaging Guide
- adds more general packaging resource
- removes the emphasis put on setuptools
* rephrase and remove note admonitions
- expanded on few points
- removed note blocks, they are unneccessary
* Remove note about reinstalling to update cli
- I had mistakenly thought it was necessary to
re-install the app to update the cli.
- the `--editable` flag detects the change and
the cli updates without issue.
8 years ago
PHeanEX
96b6345c1a
Fix small grammar error (Of/Or) ( #2001 )
8 years ago
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
8 years ago
dawran6
3d856e03fc
sessions documentation (client side vs server side) #434 ( #1888 )
...
Mention the existence of Flask extentions that handle server-side
sessions.
Attempt to improve the reading flow.
8 years ago
Markus Unterwaditzer
71e10be286
Properly remove f.name usage in send_file ( #1988 )
...
* Properly remove f.name usage in send_file
* Update changelogs
* Fix tests
8 years ago
sanderl-mediamonks
3313b8b0a4
Use the correct Celery result backend setting
8 years ago
SaturnR
55bd39c7f0
Update for python3 ( #1973 )
...
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
8 years ago
teichopsia-
5044f3d610
Update testing.rst ( #1987 )
...
Python 3.4.2
TypeError: Type str doesn't support the buffer API
8 years ago
Auke Willem Oosterhoff
e6d7a43ccd
Use path of socket consistently accross document. ( #1976 )
...
* #1975 Use location of socket consistently accross document.
8 years ago
Shakib Hossain
fe53da45c5
Update allowed_file function in fileuploads.rst
...
Update allowed_file function to accept lowercase and uppercase file extensions
8 years ago