Commit graph

604 commits

Author SHA1 Message Date
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().
2012-11-05 06:00:46 +06:00
Armin Ronacher
8339cb3508 Added support for unicode json dumping. This fixes #535 2012-10-18 00:48:15 +01:00
Markus Unterwaditzer
7ee40e9348 Fix #611
Minor but confusing typo in tutorial.
2012-10-16 21:56:51 +02:00
Armin Ronacher
c2e5799879 Updated examples to new sqlite patterns and added new section to appcontext docs 2012-10-09 14:02:32 -05:00
Armin Ronacher
f34c028125 Added template tests and made config a true global 2012-10-08 07:01:49 +02:00
Armin Ronacher
b146d8277a Added wrapper module around simplejson/json for much simplified customization. 2012-10-07 23:31:48 +02:00
Armin Ronacher
b5bb49d080 Added a new example for checksums on input data. This fixes #601 2012-10-07 15:46:21 +02:00
Armin Ronacher
c01d36aabd Merge pull request #548 from SimonSapin/patch-6
Remove the unused `ScriptNameStripper.to_strip` in the FastCGI doc example
2012-10-07 06:06:45 -07:00
Armin Ronacher
aecb760c6a Merge pull request #550 from AkaiKitsune/master
Added Windows documentation for mod_wsgi usage
2012-10-07 06:06:23 -07:00
Armin Ronacher
5b462dd382 Fixed a typo in the docs. This fixes #576 and #575 2012-10-07 14:50:21 +02:00
Armin Ronacher
18413ed1bf Added HTTP override middleware to docs. This fixes #582 2012-10-07 13:02:05 +02:00
Armin Ronacher
b2cf9e7212 Merge pull request #590 from pinchsp/master
Fixed small error in SQLAlchemy patterns documentation
2012-10-07 03:56:35 -07:00
Armin Ronacher
39329bfc07 Merge pull request #591 from finbarrocallaghan/master
fixed some typos
2012-10-07 03:54:58 -07:00
Armin Ronacher
b2fc9febdd Merge pull request #607 from jfinkels/patch-3
Update docs/quickstart.rst
2012-10-07 03:49:36 -07:00
Armin Ronacher
261c4a6aee Updated documentation for the new sessions 2012-10-07 12:40:59 +02:00
Armin Ronacher
e1a576122b Merge branch 'json-sessions' 2012-10-07 10:33:37 +02:00
jfinkels
639817b621 Update docs/quickstart.rst
Removed incorrect syntax and simplified remaining sentence.
2012-10-05 02:49:55 -03:00
Armin Ronacher
22af78a96f Removed outdated sentence in the testing docs 2012-09-21 01:02:42 +09:00
Finbarr O'Callaghan
e8d50a7aba fixed spelling but not the grammar! 2012-09-06 18:19:50 +01:00
Finbarr O'Callaghan
48f7cdd016 various typo fixes 2012-09-06 18:04:51 +01:00
pinchsp
69e419e020 Fixed small mistake in sqlalchemy pattern 2012-09-04 00:51:45 -03:00
Kenneth Reitz
80b2689335 Merge pull request #577 from brousch/patch-2
Added _ to fix link to extensions in Hook. Extend.
2012-08-26 10:25:56 -07:00
Kenneth Reitz
1dde7b8be7 Merge pull request #563 from joepie91/master
Fix for lighttpd regex
2012-08-26 10:20:54 -07:00
Alex Morega
11c746189d Fix code example in pluggable views documentation 2012-08-20 16:57:39 +03:00
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.
2012-08-17 16:45:04 -03:00
Armin Ronacher
a4977cfe2b Removed outdated section in the docs 2012-08-11 03:13:16 +01:00
Armin Ronacher
704d94d7b9 Merge branch 'master' into json-sessions 2012-08-11 02:37:52 +01:00
Armin Ronacher
4df3bf2058 Implemented experimental JSON based sessions 2012-08-11 02:36:14 +01:00
Sven Slootweg
b0fdae4e1f Fix regex in lighttpd example config to only match static/ and sub-items, and not all directories that start with 'static' 2012-07-21 21:00:44 +02:00
Kenneth Reitz
0f3bc38a18 Merge pull request #562 from yaph/master
Small improvement to docs
2012-07-21 04:57:39 -07:00
Ramiro Gomez
3800c7396b Try to correct confusing sentence in doc and fixed word duplication. 2012-07-21 13:55:45 +02:00
Randall Degges
40ccc0a99a Fixing some wording in the design documentation. 2012-07-20 14:29:10 -07:00
Akai Kitsune
b9df128ba8 Added directions for mod_wsgi vhost configuration under Apache on Windows 2012-07-16 21:08:02 +03:00
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):]
2012-07-12 16:31:53 +03:00
Ron DuPlain
ea2a0629c9 Touch up dbinit tutorial doc.
Discussion on #pocoo with svenstaro, dAnjou, noob13.
2012-07-04 15:27:15 -04:00
Sven-Hendrik Haase
690b0c34ff Fix chose -> choose typo 2012-07-04 21:19:41 +02:00
Sven-Hendrik Haase
0553bbdefe Made it explicitly clear where changes should go in the tutorial 2012-07-04 21:12:41 +02:00
Armin Ronacher
d5218997d9 Added flask.stream_with_context 2012-06-27 15:06:39 +01:00
bev-a-tron
1f82d02b33 Fixes #519 by adding return statement 2012-06-25 13:31:11 -04:00
Armin Ronacher
9be47f5932 Merge pull request #479 from dmishe/patch-1
Removed unneeded print statements form mongokit pattern doc
2012-06-17 06:25:10 -07:00
Armin Ronacher
24e01318d3 Merge pull request #517 from kuyan/patch-1
Emended extensiondev.rst
2012-06-17 06:22:54 -07:00
Armin Ronacher
7b1c8fd15b Added #522 in modified version 2012-06-17 14:22:15 +01:00
Armin Ronacher
9cce327040 Merge pull request #529 from yaph/master
Indentation error in ScriptNameStripper in Configuring Apache section
2012-06-17 06:07:29 -07:00
Ramiro Gómez
5bbf8bdcd9 Update master 2012-06-17 02:22:02 +03:00
Ben Rousch
5c2aa7a921 Added link to extensions in "Hook. Extend." section. 2012-06-12 14:26:10 -03:00
Natan L
99aaacb1a9 Emended extensiondev.rst. 2012-05-30 20:23:02 -07:00
Armin Ronacher
086348e2f2 Added after_this_request decorator. 2012-05-08 13:14:32 +01:00
Armin Ronacher
dbfd406a21 Added required_methods 2012-05-08 12:51:26 +01:00
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.
2012-04-24 01:48:05 -04:00
Ron DuPlain
7c79ce6e41 Revise foreword and Becoming Big docs, #484. 2012-04-23 23:42:58 -04:00