Commit Graph

12 Commits

Author SHA1 Message Date
Benoit Masson
2cc4e8d066 Change to use the get_callback_args route function to return the right function to analyse for keywords and insert the sqlite connection. 2017-01-09 17:52:09 +01:00
Benoit Masson
65e186de9b Added a code to get into 1st level of closure in case of other decorator (like views) has wrapped the function and miss the the keyword detection. tested 0.12 & 0.13. 2017-01-09 01:41:03 +01:00
Thiago Avelino
f55aeb96ad set new version 0.1.3
- sqlite3: make it possible to set text_factory upon initialization
2016-06-16 09:22:16 -03:00
abi
1fd4be5901 sqlite3: make it possible to set text_factory upon initialization, including tests 2014-12-25 21:40:41 +01:00
Iuri de Silvio
a746772bf9 Fix all PEP8 warnings, including a missing import (added the
`test_raise_sqlite_integrity_error`).
2014-03-29 15:29:16 -03:00
Iuri de Silvio
e0d85fbc44 Make it work with two plugins.
bottle>=0.10 changed behaviour to replace plugins with the same name,
so I have to patch the name if a plugin with the same name already
exists.
2014-03-29 15:29:16 -03:00
Iuri de Silvio
9d20d994a7 Set plugin api=2 to make it work with older bottle versions. 2014-03-29 10:29:40 -03:00
Mageti
d666670c94 correct keyword in args
correct bad copy-paste to not change this plugin behavior
2014-03-27 15:10:24 +01:00
Mageti
7d5b72cde1 sqlalchemy->sqlite
Correct a bad copy-paste
change sqlalchemy keyword to sqlite
2014-03-27 15:07:01 +01:00
Mageti
bee5c022b1 Updating bottle_sqlite.py to new bottle
Updating bottle_sqlite.py to new bottle versions
inspired by bottle_sqlalchemy
adapted to python3
2014-03-27 14:40:11 +01:00
Marcel Hellkamp
f0b377857e sqlite-fix: Auto-commit on HTTPResponde exceptions (e.g. redirects) 2012-02-07 19:07:27 +01:00
Marcel Hellkamp
7c6f7b3abb Moved plugins from main bottle repository to bottle-extras. 2011-09-01 19:21:53 +02:00