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.
9 years ago
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
9 years ago
Sudheer Satyanarayana
1ffd07ff5a
Fix small typo in python3 docs
...
Add missing 'be'
9 years ago
Markus Unterwaditzer
f91aea2aa0
quickstart: Remove reference to `python hello.py`
...
Fix #1826
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
9594876c1f
Added plugin support to the cli
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
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
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
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
Jeff Widman
8c595f1eba
Remove dotCloud host instructions
...
dotCloud is no more; their parent company went bankrupt
9 years ago
Winston Kouch
594d1c5eb2
Add note to not use plain text passwords to views.rst
9 years ago
Keyan Pishdadian
1a877fbaa0
Remove extmigrate from Flask repo
...
* Remove extmigrate from Flask repo
* Update docs to reflect new repo location
9 years ago
Stéphane Raimbault
b0105f41cc
Extend documentation about uwsgi/nginx deployment
9 years ago
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
9 years ago
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
9 years ago
bagratte
9a80fe691d
minor revision of documentation.
9 years ago
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
9 years ago
gunbei
55e37d4f09
update get-pip.py location
9 years ago
Austen D'Souza
fc0e1a8d8a
Fixed typo
...
I think it's supposed to be an upper-case 'F'. Cheers :)
9 years ago
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?
9 years ago
Ethan Rogers
adeedddbb5
Fix minor typo in security doc
9 years ago
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.
9 years ago
Eric Dill
52daeffdc9
DOC: Remove gendered language
9 years ago
Prayag Verma
6c0496a1f3
Fix a typo
...
`interchangable` → `interchangeable`
9 years ago
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
9 years ago
Jeff Widman
daceb3e3a0
Add support for serializing top-level arrays to JSON
...
Fix #170 , #248 , #510 , #673 , #1177
9 years ago
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
9 years ago
Dougal Matthews
25aab43f8e
Fixed a typo
...
I think 'app' is the intended word here, but I am not 100% sure.
9 years ago
lord63
51b62fb044
Render the code block in mongokit.rst
9 years ago
Daniel Thul
2faf245876
Fix typo.
9 years ago
wodim
4a8f3eacbb
Fix typo in templating.rst
9 years ago
David Lord
41622c8d68
Link article about deploying on Azure/IIS
9 years ago
Michael Klich
99bc0dfd3b
Add info about working with VE and Python 3
...
Python 3 does not have execfile function.
9 years ago
Timo Furrer
d526932a09
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
9 years ago
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>
9 years ago
msiyaj
808bf6d204
Missing apostophe.
10 years ago
Jonas Gröger
b644e2747f
Mention virtual environments in uwsgi/nginx deployment docs
10 years ago
Jonas Gröger
8b9cb6caa7
Update uwsgi/nginx deployment documentation
...
Instead of using the uwsgi_modifier1 30 directive, the uwsgi docs
recommend to use the mount / manage-script-name approch which mounts
a module + callable to a certain path. This way, SCRIPT_NAME and
PATH_INFO are correctly rewritten.
See http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
Fixes #1464
10 years ago
Wayne Ye
05c2e7c276
Fixed gevent introduction to use libev instead of libevent
10 years ago
Alan Hamlett
99c99c4c16
Enable autoescape for `render_template_string`
10 years ago
Zev Averbach
5dfe918e4f
fixed some punctuation, fixed a few errors, in service of readability
10 years ago
ThiefMaster
bbaf20de7c
Add pop and setdefault to AppCtxGlobals
10 years ago