defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
Petr Zemek
3767e7ba4f
Unify the uses of "urls" vs "URLs".
...
Use "URLs", which is more prevailing in the source code.
10 years ago
tay-k
f95acc64d6
fix filename of test files in README of examples
10 years ago
Markus Unterwaditzer
8fa5e32d9a
Tests pass now.
10 years ago
Jeffrey D
3c48bf8935
Addressed issue #1134
11 years ago
Suraj Patil
eb0c8a6bee
The example does not execute
...
With the inclusion of the app.run we now are able to execute the program, it would be great if we'd have even more detailed docs available for the examples
11 years ago
Armin Ronacher
d2d8e66130
Fixed flask tests
11 years ago
Armin Ronacher
9ab5987100
Updated the examples to be cli based
11 years ago
Armin Ronacher
a3a5075a94
Updated tutorial to the flask script
11 years ago
Armin Ronacher
9074bc46af
Switch away from /tmp for windows users
11 years ago
Tommaso Allevi
b81b040110
Remove unused import
11 years ago
Tommaso Allevi
f0f6545374
Use json method
...
Use json method of response.Response
11 years ago
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
11 years ago
Matt Skone
1df0f2dc1c
Escaped 'text' keyword in column name.
11 years ago
Armin Ronacher
05161d3584
Rewrote tutorial to use the g based appcontext object
11 years ago
Armin Ronacher
42cf782ee3
Removed g object from example as it was unused
11 years ago
Armin Ronacher
23d8d66256
Added site name to persona login
12 years ago
Armin Ronacher
5f648a8eb8
Added Persona example
12 years ago
Thomas Waldmann
8bb972e5ae
fix minitwit/flaskr test errors, improve docs about file open mode
...
app.open_resource needs to get called with the correct mode param (python3
will read bytes [not str] if the wrong mode is used), add mode param docs.
rv.data is bytes, fix the data type we compare it with to be also bytes
12 years ago
Thomas Waldmann
e1d356fb71
ported some more stuff to py 3.3
...
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")
removed with_statement future imports, not needed any more
needs more work on 2.7 as well as on 3.3
12 years ago
Alexander Thaller
8ca7fc47d0
Update README
...
No need to manually initialize the database with a call to `init_db()` as this call is done before `app.run()` in flaskr.py, when you run the file.
12 years ago
oliversong
cc82feb084
Changing string to text in schema files
12 years ago
Armin Ronacher
61d43c7f12
Removed unnecessary end-tags and fixed some broken html
12 years ago
Iyra Gaura
be1ed33271
Ended your paragraph tag.
12 years ago
Gennady Kovshenin
82b29c09ac
Use sqlite3.Row factory in Flaskr
...
As pointed out in issue #588 sqlite3.Row should be used instead of
using casting to dict(). Also altered the "Easy Querying" Patterns
example to include the more correct way to return rows as dicts.
Did not touch Tutorial examples ("Views"), as these are not up to
date with the current Flaskr code, and the "Show Entries" section
points out the "Easy Querying" section on how to convert to a
dict().
12 years ago
Tony Narlock
af76dd0fd4
Highlight first field on page load, enter sends submit request, double quote to single quote. Submission focuses first field again
12 years ago
Armin Ronacher
c2e5799879
Updated examples to new sqlite patterns and added new section to appcontext docs
12 years ago
Dmitry Shevchenko
62621ccd13
Blueprint example tests
13 years ago
Dmitry Shevchenko
85ad4ffb60
Blueprint example app
13 years ago
Armin Ronacher
d3ca55177a
Updated the docs and examples to non-failing teardown handlers
14 years ago
Armin Ronacher
7e55b5084d
Mention the TESTING flag in the docs
14 years ago
Armin Ronacher
b51ecd7f21
Updated examples
14 years ago
Armin Ronacher
164067920b
Updated examples to work with pypy which has a incomplete sqlite3 in 1.4. Also disable a euc-kr test that does not work on pypy
14 years ago
Daniel Haaker
94a7312d5a
Add missing semicolon to test
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
70dc2b66a0
Removed useless script reference. This fixes #87
15 years ago
Armin Ronacher
dfecc86dd3
Ported examples over to new config. documented upgrading
15 years ago
Armin Ronacher
e432d833b5
Fixed stuff I broke
15 years ago
Armin Ronacher
9d19b77acf
Added lazyloading pattern and explicit chapter links in tutorial.
...
This fixes #49 .
15 years ago
Armin Ronacher
da8f88a22e
Removed OpenID example, that's now in flaskext.openid anyways.
15 years ago
Armin Ronacher
bc0c0559e3
Added OpenID example
15 years ago
Armin Ronacher
3053fcdb0d
Make the example tests pass on Windows.
...
Also updated the documentation regarding that.
15 years ago
florentx
3c821a0fa4
Fix typos and remove unused import.
15 years ago
Armin Ronacher
a99e408bd1
Finished jQuery example documentation.
15 years ago
Armin Ronacher
6e2be6a0b3
Added JSON Support and started working on jQuery docs
15 years ago
Armin Ronacher
73a47a0db1
Removed unused stuff from minitwit and fixed a bug.
15 years ago
Armin Ronacher
bf52a17902
Removed useless code
15 years ago
Armin Ronacher
fb2d2e446b
request_init -> before_request and request_shutdown -> after_request
...
This fixes #9 .
15 years ago
Armin Ronacher
6dd92ae4b3
Beefed up the tutorial
15 years ago
Armin Ronacher
1246f4088a
First part of the tutorial. Many explanations missing but it's a start.
15 years ago
Armin Ronacher
c4f5c2fb9a
Fixed a typo
15 years ago