def get_builder(self, table='users', model=User):
    connection = ConnectionFactory().make('sqlite')
    return QueryBuilder(grammar=SQLiteGrammar, connection_class=connection, connection='dev', table=table, model=model, connection_details=DATABASES).on('dev')
def get_builder(self, table='users', model=User):
    connection = ConnectionFactory().make('sqlite')
    return QueryBuilder(grammar=SQLiteGrammar, connection_class=connection, connection='dev', table=table, model=model, connection_details=DATABASES).on('dev')