Cool lib but there was problem with latest release of Sanic and peewee 3.8.0. First was the import error with log, After fixing that with from sanic.log import logger as log ended up with an error that points to this:
class CrudShortcuts(object):
def __init__(self, model):
self.table_name = model._meta.db_table
self.model = model
I get the following error.
self.table_name = model._meta.db_table AttributeError: 'Metadata' object has no attribute 'db_table'
This is a great handy lib. Will be nice to get a fix.
Cool lib but there was problem with latest release of Sanic and peewee 3.8.0. First was the import error with
log
, After fixing that withfrom sanic.log import logger as log
ended up with an error that points to this:I get the following error.
This is a great handy lib. Will be nice to get a fix.