osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Peewee ORM questions


Brainfart has left the building

 print(model_to_dict(row, exclude = (row.created, row.updated))) 

should have been

 print(model_to_dict(row, exclude = (model.created, model.updated)))