Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier 1c55eee094 Manage DatabaseDataError in ModelSQL
issue11314
review399111003
2022-04-04 00:35:38 +02:00
Cédric Krier d7ed5f91f5 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Nicolas Évrard 6ba18631e8 Use relative imports 2011-12-14 17:00:13 +01:00
Cédric Krier 23c5eff184 Add sqlite backend 2009-07-07 19:35:44 +02:00