save and load state of browser into storage

This commit is contained in:
Romain Bignon 2015-02-21 14:21:54 +01:00
commit cedfb5670e
4 changed files with 61 additions and 5 deletions

View file

@ -320,6 +320,9 @@ class Boobank(ReplApplication):
}
COLLECTION_OBJECTS = (Account, Transaction, )
def load_default_backends(self):
self.load_backends(CapBank, storage=self.create_storage())
def _complete_account(self, exclude=None):
if exclude:
exclude = '%s@%s' % self.parse_id(exclude)