vojtekb
95db82f8f7
py.test => pytest ( #2173 )
...
py.test => pytest
2017-02-09 18:34:16 +01:00
Swan Htet Aung
f84fdadda9
Update 4.4.3 HTTP Methods Example
...
Otherwise it produces `ValueError: View function did not return a response`.
2017-02-09 18:01:12 +06:30
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 ).
2017-01-17 20:20:07 +01:00
Markus Unterwaditzer
47e8410117
Merge pull request #2131 from wgwz/add-larger-app-ex
...
Add larger app ex
2017-01-15 05:56:12 +01:00
Dennis Chen
9900a72fe7
Fix Request Reference ( #2151 )
...
Points flask.Request to appropriate place in the documentation.
2017-01-14 21:58:45 +01:00
Ondřej Nový
9dcfd05d29
Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
...
Details: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
2017-01-13 10:54:55 +01:00
Adrian Moennich
88111ae6bf
Do not suggest deprecated flask.ext.*
2017-01-10 13:12:18 +01:00
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.
2017-01-01 18:51:21 -08:00
wgwz
1b7258f816
Provides a link to the examples src
...
- moved the link towards the top for better visibility
2016-12-31 18:51:00 -05:00
Markus Unterwaditzer
49386ee69e
Inherit Werkzeug docs ( #2135 )
...
Fix #2132
2016-12-31 16:31:44 +01:00
wgwz
949771adf5
Add reference to largerapp src in docs
2016-12-30 13:42:14 -05:00
Gábor Lipták
079d752cec
Update Flask-SQLAlchemy link ( #2126 )
2016-12-28 16:11:33 +01:00
Sven-Hendrik Haase
0ba1a872b7
Style the flask command consistently ( #2120 )
...
It's done like this in other parts of this doc.
2016-12-21 21:06:48 +01:00
Sven-Hendrik Haase
ccb562854e
Remove wrong comma ( #2116 )
2016-12-19 05:37:34 -08:00
ezramorris
4a8bf651d9
Add link to AWS EB Flask tutorial
2016-11-17 14:01:30 +00:00
Jannis Leidel
4cf4229355
Fix rST rendering of env var ( #2085 )
...
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
2016-11-15 11:57:09 +01:00
Giles Thomas
281c9c3ff9
Added a link to instructions for PythonAnywhere ( #2081 )
2016-11-07 10:10:02 -08:00
Tery Lim
ec9717502f
Update errorhandling.rst ( #2075 )
...
Fix LogRecord class reference.
2016-11-01 21:04:20 -07:00
Tery Lim
bbe58a4944
Update errorhandling.rst ( #2074 )
2016-11-01 19:58:22 -07:00
Shandy Brown
9685d14eaa
Correct grammar ( #2061 )
2016-11-01 18:52:54 -07:00
Markus Unterwaditzer
2b8fef4fe7
Merge branch '0.11-maintenance'
2016-10-30 14:35:15 +01:00
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
2016-10-30 14:34:49 +01:00
Ionuț Ciocîrlan
2cc76628d2
Fix grammar in docs
2016-10-24 13:20:54 +02:00
David Lord
cdbd63d7de
Windows venv is Scripts, capital S
...
closes #2056
2016-10-12 12:14:49 -07:00
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.
2016-10-01 18:45:22 +02:00
Douglas Thor
a6a36ec72a
Updated mod_wsgi.rst to point to new mod_wsgi repo ( #2038 )
2016-09-24 13:07:19 +02:00
Markus Unterwaditzer
dcfdfc6476
Use abort docs from Werkzeug
...
Fix #1960
2016-09-18 15:47:52 +02:00
Andrew Arendt
270355abdc
Remove nonsense from cli docs
2016-09-14 20:03:21 +02:00
Armin Ronacher
a40489e0ce
Merge pull request #2019 from pallets/bugfix/sendfile-error
...
Do not cause errors for unknown files for sendfile
2016-09-12 21:52:42 +03:00
Armin Ronacher
11f3a3f6dd
Updated upgrade docs
2016-09-11 21:28:30 +03:00
Markus Unterwaditzer
12008c2e63
Merge branch '0.11-maintenance'
2016-09-11 17:55:33 +02:00
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
2016-09-11 17:53:35 +02:00
Markus Unterwaditzer
7132feb1a5
Merge branch '0.11-maintenance'
2016-09-08 15:21:05 +02:00
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.
2016-09-08 15:19:48 +02:00
PHeanEX
96b6345c1a
Fix small grammar error (Of/Or) ( #2001 )
2016-08-31 13:05:12 -07:00
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
2016-08-30 00:26:20 +02:00
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.
2016-08-29 00:06:53 +02:00
Markus Unterwaditzer
71e10be286
Properly remove f.name usage in send_file ( #1988 )
...
* Properly remove f.name usage in send_file
* Update changelogs
* Fix tests
2016-08-26 03:08:03 +02:00
sanderl-mediamonks
3313b8b0a4
Use the correct Celery result backend setting
2016-08-22 11:49:52 +02:00
SaturnR
55bd39c7f0
Update for python3 ( #1973 )
...
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
2016-08-20 17:43:10 +02:00
teichopsia-
5044f3d610
Update testing.rst ( #1987 )
...
Python 3.4.2
TypeError: Type str doesn't support the buffer API
2016-08-19 19:01:13 -07:00
Auke Willem Oosterhoff
e6d7a43ccd
Use path of socket consistently accross document. ( #1976 )
...
* #1975 Use location of socket consistently accross document.
2016-08-03 09:22:14 -07:00
Shakib Hossain
fe53da45c5
Update allowed_file function in fileuploads.rst
...
Update allowed_file function to accept lowercase and uppercase file extensions
2016-07-16 21:59:44 +06:00
David Lord
633b13e9b5
Merge branch '0.11-maintenance'
2016-07-05 17:34:51 -07:00
Kyle Lawlor
17d4cb3828
Address #1902 : Converts example/flaskr to have a setup.py ( #1945 )
...
* Converts example/flaskr to have a setup.py
Makes the flaskr app easier to run, ex. workflow:
- pip install --editable .
- export FLASK_APP=flaskr.flaskr
- flask initdb
- flask run
Testing is also easier now:
- python setup.py test
* Fixed an import error in flaskr/tests
- the statement `import flaskr` caused errors in python3
- `from . import flaskr` fixes the issue in 2.7.11 and 3.5.1
* Better project structure and updates the docs
- Re-factors *flaskr*'s project structure a bit
- Updates docs to make sense with the new structure
- Adds a new step about installing Flask apps with setuptools
- Switches first-person style writing to second-person (reads better IMO)
- Adds segments in *testing.rst* for running tests with setuptools
* Remove __init__.py from tests
- py.test recommends not using __init__.py
* Fix testing import errors
2016-07-05 17:30:59 -07:00
Olexander Yermakov
b7a0cc61c5
Update installation documentation for using 'pip' command ( #1920 )
2016-07-05 12:00:43 -07:00
David Lord
1928f28a68
clean up code formatting in some docs
...
fix warnings while building docs
2016-06-26 13:03:29 -07:00
David Lord
cd1a9b7d54
remove unnecessary form action attributes
2016-06-22 15:01:41 -07:00
David Lord
d8c39f4b37
Revert "wtforms: Add missing closing tags in example ( #1917 )"
...
This reverts commit 146cba53e7
.
2016-06-22 14:53:27 -07:00
Ameya Pandilwar
663d786f68
Update documentation for upgrading Flask using 'pip' command ( #1918 )
2016-06-22 13:26:35 -07:00