Join GitHub today
Entity NoneType does not belong to database when using to_dict #80
I'm having an issue with the to_dict() and Entity.to_dict().
Consider the following:
which, I guess is caused by the None values of the discount if there is no discount for the product.