Commit ac06ba53 authored by Clément Schreiner's avatar Clément Schreiner
Browse files

Interactions between the database and a plugin now done in the plugin itself.

BasePlugin:

 - new methods: ``load`` and ``save`` for loading the data and
   committing the sqlalchemy session

 - ``_load_result``, allowing easy overridding in specific plugins' classes (e.g. QAPlugin)

 - ``db_objects`` attribute replaced by ``results``

Plugins class now simpler.
parent 6062ebf7