Added Option Classes.

This commit is contained in:
Andrew Bastien 2019-04-11 10:12:16 -04:00
parent 1678db2435
commit 5bc9a42bb5
9 changed files with 472 additions and 66 deletions

View file

@ -1385,7 +1385,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
return look_string
@lazy_property
def option(self):
def options(self):
return OptionHandler(self, options_dict=settings.ACCOUNT_OPTIONS, save_category='option')