django-nonrel/djangotoolbox — comment on commit b4315fcff67184129a28a2df85c5cec7041a2281
File: djangotoolbox/db/base.py line 109
By wrwrwr:

Probably some override marker would be enough. Mostly I wanted to save others from wondering about all those empty methods and the current "double" conversion handling -- updated those comments not to say the obvious and to make it clearer that we're countering some SQL-specific conversions done by Django here.

Later on it would be best to actually get rid of those `value_to_db_*` / `convert_values` methods and move their code, as well as `Field.get_db_prep_lookup`, to `BaseDatabaseOperations.value_for/from_db` or something similar, so it would be easier to override. I can think of two possible solutions here:

* Require `get_db_prep_save/lookup` to call super method at the end and call back-end conversions from there; quite bad because it would require updating many custom fields;
* Make back-ends only call conversions on `DatabaseOperations` and call the field methods from it; also not so nice because it would require changes to all SQL back-ends (albeit probably small changes).