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
Sudheer Satyanarayana
1ffd07ff5a
Fix small typo in python3 docs
...
Add missing 'be'
2016-06-21 17:27:03 +02:00
Markus Unterwaditzer
f91aea2aa0
quickstart: Remove reference to python hello.py
...
Fix #1826
2016-05-29 15:46:48 +02:00
Armin Ronacher
42b7ab3f49
Incorporated ThiefMaster's suggestions for docs
2016-05-27 00:17:58 +02:00
Armin Ronacher
3e651e795a
Added sentry to docs
2016-05-26 22:57:12 +02:00
Armin Ronacher
9594876c1f
Added plugin support to the cli
2016-05-26 21:29:01 +02:00
Armin Ronacher
f9ea3fe026
1.0 -> 0.11 in the docs
2016-05-26 20:52:17 +02:00
Armin Ronacher
1df426aaaa
More doc updates for FLASK_APP
2016-05-26 20:48:49 +02:00
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
2016-05-23 14:43:23 +02:00
Markus Unterwaditzer
e8bd2c9202
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
e45e17c490
fix a grammar mistake ( #1798 )
2016-05-05 19:27:45 +02:00
Corey Goldberg
28b36f642d
removed references to easy_install
2016-05-04 21:14:25 -04:00
Corey Goldberg
1cc9ccfc67
update docs and refer to setuptools
2016-05-03 11:55:36 -04:00
David Lord
317d60307d
fix some warnings while building docs
2016-04-11 16:13:59 -07:00
Daniel Quinn
be2abd2926
Fix typo (thing --> things)
2016-04-11 14:57:04 +02:00
Steven Loria
2bf477cfea
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
2016-04-08 15:30:47 -07:00
Jeff Widman
8c595f1eba
Remove dotCloud host instructions
...
dotCloud is no more; their parent company went bankrupt
2016-04-06 23:30:41 -07:00
Winston Kouch
594d1c5eb2
Add note to not use plain text passwords to views.rst
2016-04-05 18:53:08 +02:00
Keyan Pishdadian
1a877fbaa0
Remove extmigrate from Flask repo
...
* Remove extmigrate from Flask repo
* Update docs to reflect new repo location
2016-04-04 23:19:10 +02:00
Stéphane Raimbault
b0105f41cc
Extend documentation about uwsgi/nginx deployment
2016-04-04 08:53:34 +02:00
José Carlos García
567fff9d0d
Change to Pallets project
...
* Update CHANGES
* Update CONTRIBUTING.rst
* Update setup.py
* Update tox.ini
* Update extensions.rst
* Update security.rst
* Update installation.rst
* Update testing.rst
* Update upgrading.rst
* Update sidebarintro.html
* Update jquery.rst
* Update dbcon.rst
* Update index.rst
2016-04-03 23:11:38 +02:00
Markus Unterwaditzer
d3d8a4694a
Deprecate flask.ext
...
* Add deprecation warning to ext pkg
* Add docs on deprecation of flask.ext
* Improve deprecation warnings
* Add headers for better distinction, fix ordering issue of paragraphs
2016-04-02 21:06:30 +02:00
bagratte
9a80fe691d
minor revision of documentation.
2016-04-01 23:12:25 +02:00
lord63
e0a8fd3162
Add two missing converters for flask in the docs
...
All converters are from werkzeug's builtin converters.
Documentation: http://werkzeug.pocoo.org/docs/dev/routing/#builtin-converters
2016-04-01 14:05:11 -07:00
gunbei
55e37d4f09
update get-pip.py location
2016-03-23 11:27:05 +01:00
Austen D'Souza
fc0e1a8d8a
Fixed typo
...
I think it's supposed to be an upper-case 'F'. Cheers :)
2016-03-23 02:02:04 +05:30
whiteUnicorn
bc9619beba
Replace ';' to ','
...
I think it is awkward. Though semicolon can be used as a kind of supercomma, this sentence is not that kine of thing. Replacing it with comma would be more better. isn't it?
2016-03-15 00:02:29 +09:00
Ethan Rogers
adeedddbb5
Fix minor typo in security doc
2016-03-11 10:06:00 -07:00
Gaëtan Petit
67e2127a5d
Update deprecated references
...
validators.Required() is marked as deprecated in favor of validators.DataRequired() and will be remove in WTForms 3.
2016-03-08 10:05:20 +01:00
Markus Unterwaditzer
e7d548595e
Merge pull request #1456 from jonafato/proxy-setup-x-forwarded-proto
...
Add X-Forwarded-Proto header to proxy setup example docs
2016-02-17 22:02:22 +01:00
Eric Dill
52daeffdc9
DOC: Remove gendered language
2016-02-09 14:24:09 -05:00
Prayag Verma
6c0496a1f3
Fix a typo
...
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
lord63
6d0bbd627c
Fix typo
...
* Use the compatible way to handle the exception. You can find the
source code wsgi_app in app.py, and it use the compatible way, so update it
* Fix typo in config.py
* Fix typo in app.py
2016-02-03 21:08:22 +08:00
Kenneth Reitz
e7367c9bbf
Merge pull request #1588 from Akasurde/i_1465
...
Updated documentation for Setuptools
2016-01-26 20:40:26 -05:00
Jeff Widman
daceb3e3a0
Add support for serializing top-level arrays to JSON
...
Fix #170 , #248 , #510 , #673 , #1177
2016-01-13 13:20:11 -08:00
accraze
fcd573e120
added note about directory permission syntax change
...
docs had httpd 2.2 syntax for directory permission with a link to Apache 2.4 changes. added an example of httpd 2.4 syntax
resolves #1644
2015-12-09 20:24:23 -08:00
Dougal Matthews
25aab43f8e
Fixed a typo
...
I think 'app' is the intended word here, but I am not 100% sure.
2015-12-03 09:51:24 +00:00
lord63
51b62fb044
Render the code block in mongokit.rst
2015-11-22 14:43:25 +08:00
Armin Ronacher
751fe451df
Merge pull request #1558 from JonasGroeger/master
...
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
Daniel Thul
2faf245876
Fix typo.
2015-11-11 23:46:51 +01:00
wodim
4a8f3eacbb
Fix typo in templating.rst
2015-11-04 12:00:44 +01:00
Abhijeet Kasurde
b51e368cc7
Merge branch 'master' of https://github.com/mitsuhiko/flask
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-11-01 09:34:11 +05:30
David Lord
41622c8d68
Link article about deploying on Azure/IIS
2015-10-31 15:17:45 -07:00
David Lord
233886dda2
Merge pull request #1565 from msiyaj/master
...
Missing apostophe.
2015-10-30 19:20:27 -07:00
David Lord
84a12afd4d
Merge pull request #1593 from timofurrer/master
...
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
2015-10-30 11:10:08 -07:00
Michael Klich
99bc0dfd3b
Add info about working with VE and Python 3
...
Python 3 does not have execfile function.
2015-10-29 19:03:20 -07:00
Timo Furrer
d526932a09
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
2015-10-24 07:04:23 +02:00
Abhijeet Kasurde
15f267e1ee
Updated documentation for Setuptools
...
Updated documentation by removing references of distribute and adding
references of setuptools.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-10-20 14:40:55 +05:30
msiyaj
808bf6d204
Missing apostophe.
2015-08-27 00:27:44 -04:00