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
Trey Long
f74f446961
fixing process_response
...
Flask.process_response will throw away functions is receives from ctx._after_request_functions if there is a Blueprint that has used @after_request .
12 years ago
Kenneth Reitz
6309987dca
Merge pull request #701 from bruston/quickstart-typod
...
Fixed a few typos in the quickstart doc
12 years ago
Kenneth Reitz
84958e5729
Merge pull request #700 from SpOOnman/master
...
Add import to jsonify example
12 years ago
Ed Burnett
02150c0f2b
Added self to AUTHORS file
12 years ago
Ed Burnett
0a5d62f9ee
Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version
12 years ago
=
1723990aee
Fixed a few typos on quickstart
12 years ago
Tomasz Kalkosiński
78ae0ec7f8
Add import to jsonify example.
12 years ago
Armin Ronacher
4366bb392a
Documented new signal message_flashed
12 years ago
Armin Ronacher
5997890c69
Merge pull request #687 from poiati/flash-signal
...
Flash messages signals
12 years ago
Armin Ronacher
0a29c295cd
Merge pull request #692 from mikegagnon/patch-1
...
fix typo in quickstart guide
12 years ago
Armin Ronacher
ac9d8b09a5
Merge pull request #693 from untitaker/factory_docs
...
Added more information about app factories.
12 years ago
Markus Unterwaditzer
9d8674d5b6
Added more information about app factories.
12 years ago
Michael N. Gagnon
8a6cba9e63
fix typo in quickstart guide
12 years ago
Kenneth Reitz
b9118ca0cc
Merge pull request #681 from dmizelle/docs-quickstart
...
fixes #677 - mistype in docs/quickstart
12 years ago
Kenneth Reitz
aa83d9132f
Merge pull request #683 from alexcouper/master
...
Tiny changes to docs
12 years ago
Kenneth Reitz
8a968a9378
Merge pull request #689 from OrangeTux/patch-2
...
Update css.rst
12 years ago
OrangeTux
cc5d6134c7
Update css.rst
...
Improved consistency: lower cased all hexadecimal descriptions of colors.
12 years ago
Paulo Poiati
b2aae044ca
Flash messages signals
...
If we send a signal when a template is rendered why not when a message
is flashed? One real world use case is in tests, this signal should make
flash messages expectation easier to implement.
12 years ago
Alex Couper
1be13297c1
Remove comma.
12 years ago
Alex Couper
8ee01ad5ed
Put the link to Flask class docs at the end.
12 years ago
Alex Couper
cc8a85d753
Move docs explaining instantiating Flask
12 years ago
Alex Couper
a92588f161
Add closing html tag
12 years ago
Devon Mizelle
c999c179a2
fixes #677 - mistype in docs/quickstart
12 years ago
lambdadi
a754d28302
Database improperly closed in example code
...
os.unlink(flaskr.DATABASE) causes the actual application database to be
purged; whereas, I reckon, one wants the _test_ database to be removed.
So every time I ran it, the test passed, but ended up crashing the live
app for want of a valid database.
I avoided using the sample code in examples/flaskr thus far, as I chose
to type out code from the turorial docs. The actual example code looks
good - at least to my beginner's eye.
12 years ago
Armin Ronacher
bfeee75696
Changed session cookie defaults to work better with google chrome
12 years ago
Armin Ronacher
6bd0080575
Added workaround for Chrome cookies
12 years ago
Armin Ronacher
6ab569b0e3
Added note on teardown in debug mode. Fixes #661
12 years ago
Armin Ronacher
3b393f89f6
Added template_global, fixes #657
12 years ago
Armin Ronacher
05f162329d
Added celery pattern
12 years ago
Kenneth Reitz
3fdcefbcda
Merge pull request #625 from soulseekah/master
...
Use sqlite3.Row factory in Flaskr (#588 )
12 years ago
Kenneth Reitz
17fc38c397
Merge pull request #617 from tony/jquery-example-iteration1
...
jQuery example: submit on enter, focus field on load, ajax to callback function, " to '.
12 years ago
Kenneth Reitz
777c0c56b5
Merge pull request #630 from untitaker/doc_fix_appctx
...
Fix #623
12 years ago
Kenneth Reitz
1e14783abd
Merge pull request #665 from trungly/deferred_callbacks_fix
...
Update docs/patterns/deferredcallbacks.rst
12 years ago
Kenneth Reitz
94a9b9665b
Merge pull request #660 from baijum/docs
...
WSGI specification has finalized for Python 3
12 years ago
Kenneth Reitz
b975dd4667
Merge pull request #667 from maxcountryman/secure-url-for
...
adding `_scheme` parameter to `url_for`
12 years ago
Kenneth Reitz
6fa449de00
Merge pull request #669 from schneems/master
...
update README to markdown
12 years ago
schneems
fb6dee3639
update README to markdown
12 years ago
Max Countryman
b5069d07a2
adding `_scheme` parameter to `url_for`
...
In order to better facilitate generation of URLs that make use of an HTTPS URL
scheme this patch adds a parameter with this specific purpose in mind. To
achieve this we explicitly pass in a param, `_scheme='https'`, and then set the
`url_scheme` attribute of our `MapAdapter` instance appropriately.
Importantly, `_external=True` must be set in order for this to work properly.
As such, failure to do so results in a `ValueError` being raised.
12 years ago
Armin Ronacher
61d3bbf1d2
Fixed last commit and added test
12 years ago
Armin Ronacher
f1537a9d7a
Always trap proxy exceptions
12 years ago
Trung Ly
b4fc4412e8
Update docs/patterns/deferredcallbacks.rst
...
fix example code in Deferred Callback docs: don't set response upon executing callback
12 years ago
Markus Unterwaditzer
2b30900e2c
Fix #623
12 years ago
Baiju Muthukadan
7a3d74f19f
WSGI specification has finalized for Python 3
...
Mention Python 3.x is not supported
12 years ago
Kenneth Reitz
ff2e8449ff
2013
12 years ago
Kenneth Reitz
e3e4f4c2b8
2013
12 years ago
Armin Ronacher
ab3d9d12c6
Merge pull request #655 from oliversong/master
...
SQLite doesn't recognize data type "string"
12 years ago
Armin Ronacher
e101655820
Merge pull request #649 from erikrose/doc-typos
...
Fix a typo in the deferred-callbacks docs.
12 years ago
Armin Ronacher
dfdbc00eaf
Merge pull request #653 from methane/patch-1
...
docs/extensiondev: Use `current_app` instead of `self.app`
12 years ago
Armin Ronacher
7ec45c2d02
Merge pull request #654 from untitaker/print_in_cgi2
...
Fixing my own pull request #647
12 years ago