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
soulseekah
3c54f30c2b
missing ' in example
...
Results in SyntaxError: EOL while scanning string literal
12 years ago
Armin Ronacher
8339cb3508
Added support for unicode json dumping. This fixes #535
12 years ago
Markus Unterwaditzer
7ee40e9348
Fix #611
...
Minor but confusing typo in tutorial.
12 years ago
Corbin Simpson
f6a5a7a0cc
docs/deploying/wsgi-standalone: Add Twisted Web.
...
I've been meaning to do this for quite some time, but I never got around to
it. Hopefully this is neutral and useful enough to be included in the main
docs.
12 years ago
Armin Ronacher
c2e5799879
Updated examples to new sqlite patterns and added new section to appcontext docs
12 years ago
Armin Ronacher
f34c028125
Added template tests and made config a true global
12 years ago
Armin Ronacher
b146d8277a
Added wrapper module around simplejson/json for much simplified customization.
12 years ago
Armin Ronacher
b5bb49d080
Added a new example for checksums on input data. This fixes #601
12 years ago
Armin Ronacher
5b462dd382
Fixed a typo in the docs. This fixes #576 and #575
12 years ago
Armin Ronacher
18413ed1bf
Added HTTP override middleware to docs. This fixes #582
12 years ago
Armin Ronacher
261c4a6aee
Updated documentation for the new sessions
12 years ago
jfinkels
639817b621
Update docs/quickstart.rst
...
Removed incorrect syntax and simplified remaining sentence.
12 years ago
Armin Ronacher
22af78a96f
Removed outdated sentence in the testing docs
12 years ago
Finbarr O'Callaghan
e8d50a7aba
fixed spelling but not the grammar!
12 years ago
Finbarr O'Callaghan
48f7cdd016
various typo fixes
12 years ago
pinchsp
69e419e020
Fixed small mistake in sqlalchemy pattern
12 years ago
Alex Morega
11c746189d
Fix code example in pluggable views documentation
12 years ago
Ben Rousch
77c2c3b183
Added _ to fix link to extensions in Hook. Extend.
...
I missed the trailing _ to make a link in my first patch to add the link to extensions.
Sorry about that.
12 years ago
Armin Ronacher
a4977cfe2b
Removed outdated section in the docs
12 years ago
Armin Ronacher
4df3bf2058
Implemented experimental JSON based sessions
12 years ago
Sven Slootweg
b0fdae4e1f
Fix regex in lighttpd example config to only match static/ and sub-items, and not all directories that start with 'static'
12 years ago
Ramiro Gomez
3800c7396b
Try to correct confusing sentence in doc and fixed word duplication.
12 years ago
Randall Degges
40ccc0a99a
Fixing some wording in the design documentation.
12 years ago
Akai Kitsune
b9df128ba8
Added directions for mod_wsgi vhost configuration under Apache on Windows
13 years ago
Simon Sapin
c3f651dccb
Remove the unused `ScriptNameStripper.to_strip` in the FastCGI doc example.
...
Alernatively, `environ['SCRIPT_NAME'] = ''` should be replaced with something like:
if environ['SCRIPT_NAME'].startswith(self.to_strip):
environ['SCRIPT_NAME'] = environ['SCRIPT_NAME'][len(self.to_strip):]
13 years ago
Ron DuPlain
ea2a0629c9
Touch up dbinit tutorial doc.
...
Discussion on #pocoo with svenstaro, dAnjou, noob13.
13 years ago
Sven-Hendrik Haase
690b0c34ff
Fix chose -> choose typo
13 years ago
Sven-Hendrik Haase
0553bbdefe
Made it explicitly clear where changes should go in the tutorial
13 years ago
Armin Ronacher
d5218997d9
Added flask.stream_with_context
13 years ago
bev-a-tron
1f82d02b33
Fixes #519 by adding return statement
13 years ago
Armin Ronacher
7b1c8fd15b
Added #522 in modified version
13 years ago
Ramiro Gómez
5bbf8bdcd9
Update master
13 years ago
Ben Rousch
5c2aa7a921
Added link to extensions in "Hook. Extend." section.
13 years ago
Natan L
99aaacb1a9
Emended extensiondev.rst.
13 years ago
Armin Ronacher
086348e2f2
Added after_this_request decorator.
13 years ago
Armin Ronacher
dbfd406a21
Added required_methods
13 years ago
Ron DuPlain
26da6a5365
Use default send_file max-age consistently.
...
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
13 years ago
Ron DuPlain
7c79ce6e41
Revise foreword and Becoming Big docs, #484 .
13 years ago
Alex Vykalyuk
028229d0ff
Fixed typo in docs/quickstart
13 years ago
Alex Vykalyuk
0333c824bf
Removed link to ep.io from quickstart
13 years ago
Ron DuPlain
fb01187885
Touch up fastcgi doc.
13 years ago
Vadim Pestovnikov
34380b9c1d
Add detailed Apache httpd fastcgi configuration.
13 years ago
Ron DuPlain
a3cb2a3382
Use American English for "behavior" in docs.
...
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
13 years ago
Ron DuPlain
10c34e6652
Reword 0.9 upgrade doc, thanks to plaes on #pocoo.
13 years ago
Ron DuPlain
b885edf810
Fix typo pointed out by tri on #pocoo.
13 years ago
Ron DuPlain
0d2ffc094b
Use 'venv' consistently for virtualenv directory.
...
Pointed out by tri on #pocoo.
13 years ago
Natan
ffbab00cd1
Rectified rampant 'roule'.
13 years ago
Paul McMillan
acb61ae57b
Minor docs fix.
13 years ago
Armin Ronacher
d26af4fd6d
Fixed some smaller things in the docs
13 years ago