David Lord
db01b7350c
use theme provided by pallets-sphinx-themes
2018-04-18 13:06:08 -07:00
Markus Unterwaditzer
b506b7bfbf
Merge branch '0.11-maintenance'
2016-10-30 14:35:15 +01:00
Kyle Lawlor
02cab299c3
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
Markus Unterwaditzer
525e266822
Merge branch '0.11-maintenance'
2016-09-08 15:21:05 +02:00
Kyle Lawlor
6ed4a18712
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
Josh Soref
0f2c793e14
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
2016-08-30 00:26:20 +02:00
SaturnR
ee84b877cb
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
Kyle Lawlor
d83d72b480
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
Armin Ronacher
4cb36cbafc
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
Winston Kouch
f3cf80f9b8
Add note to not use plain text passwords to views.rst
2016-04-05 18:53:08 +02:00
José Carlos García
fcb3c0a4fe
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
bagratte
de4e0a553c
minor revision of documentation.
2016-04-01 23:12:25 +02:00
Austen D'Souza
700aae260d
Fixed typo
...
I think it's supposed to be an upper-case 'F'. Cheers :)
2016-03-23 02:02:04 +05:30
Alex Chan
f4a53e97ea
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Kevin Yap
8b1337d85a
Grammatical fixes in Foreword and Tutorial
2014-12-16 11:30:00 -08:00
defuz
f865a7ffd6
docs: `.html, .py`
2014-11-05 07:52:04 +03:00
defuz
62019cf705
docs: `with, for, self`
2014-11-05 07:39:54 +03:00
defuz
ec806c1bbe
docs: :command:pip, :option:--debug
2014-11-05 07:03:55 +03:00
defuz
b5c9ad68dd
docs: :file:app.py, :file:yourapp/templates
2014-11-05 06:45:22 +03:00
defuz
6c894b2274
docs: http method names like `GET and POST`
2014-11-05 06:13:01 +03:00
defuz
f7cbe74c35
docs: `True, False and None`
2014-11-05 06:04:58 +03:00
defuz
fe73353513
docs: HTTP -> HTTP
2014-11-05 05:56:02 +03:00
Petr Zemek
51278ad3fd
Unify the uses of "sourcecode" vs "source code".
...
Use "source code", which is more grammatically correct.
2014-10-27 11:54:28 +01:00
Daniel Neuhäuser
ae4b13c89b
Merge pull request #1099 from root-11/patch-1
...
Update schema.rst
2014-07-27 13:31:59 +02:00
Nico Revin
63f9516d4b
Update doclinks
...
Fix redirects and broken links
2014-07-24 23:30:50 +04:00
root-11
9bc7efec8c
Update schema.rst
...
The error is that sqlite3 needs escaping on the database column 'text' in the line:
text text not null
so that it becomes:
'text' text not null
The example on mitsuhiko/flask is correct and helped me detecting the mistake.
2014-07-01 15:57:50 +01:00
Kenneth Reitz
acf28a8e48
Merge pull request #1096 from slater/patch-1
...
Update dbcon.rst
2014-06-30 19:42:32 -04:00
Mark Slater
391f565894
Update dbinit.rst
...
"require" -> "requires"
2014-06-29 15:51:03 -07:00
Mark Slater
0e1c08b3d5
Update dbcon.rst
...
"Teared" should be "torn", I think?
2014-06-29 15:48:52 -07:00
lord63
1ca68cd825
fix a small mistake in setup.rst
2014-05-12 16:01:53 +08:00
lord63
44d2ab3882
fix a small mistake in setup.rst
2014-05-11 14:08:35 +08:00
Armin Ronacher
8c1436fef0
Clarified how to test with click
2014-05-02 11:50:00 +01:00
Armin Ronacher
b71f3f03bc
Updated tutorial to the flask script
2014-04-28 15:18:27 +02:00
Daniel Neuhäuser
2b7843bd54
Merge pull request #1032 from cgar/spelling
...
few mispelling errors
2014-04-26 02:12:51 +02:00
Daniel Neuhäuser
f9b12aa0ad
Fix Jinja link
2014-04-26 01:26:12 +02:00
Daniel Neuhäuser
a698884319
Fix Pocoo documentation links
2014-04-26 01:20:12 +02:00
Carlos E. Garcia
02848ef66b
few mispelling errors
2014-04-23 10:46:38 -04:00
Armin Ronacher
083cc995af
Added a missing import
2014-03-19 23:07:42 +00:00
Armin Ronacher
4e168a414f
Various documentation fixups
2014-02-08 22:10:08 +00:00
Armin Ronacher
0dd3aa5f13
Switch away from /tmp for windows users
2014-02-08 22:07:13 +00:00
Armin Ronacher
afd3c4532b
Rewrapped lines
2013-11-09 13:41:09 +00:00
Reetta Vaahtoranta
0d648fa468
Changed the wording of some sentences there were difficult to understand.
2013-11-09 13:13:14 +00:00
talam
b7f21831fa
Updated some typos
...
Fixed some incorrect variable references.
2013-10-12 18:14:26 -04:00
Sean Vieira
12d6ec4130
Fix with block
2013-09-03 23:36:10 -04:00
Armin Ronacher
05161d3584
Rewrote tutorial to use the g based appcontext object
2013-09-01 01:32:41 +06:00
Armin Ronacher
1982c208ce
Merge pull request #808 from untitaker/issue782
...
Fix #782 -- /tmp/ in tutorial
2013-07-26 16:28:08 -07:00
Markus Unterwaditzer
fd9bf8f376
Fix #782 -- /tmp/ in tutorial
2013-07-27 01:21:01 +02:00
Nick Zaccardi
5ace060e5e
cleared up confusion for from_envvar
2013-07-22 09:03:57 -05:00
Armin Ronacher
2c9c269284
Fixed a broken reference
2013-06-09 12:32:12 +01:00
Armin Ronacher
29bda590b2
Modernized docs in a few places
2013-06-09 12:30:27 +01:00