If you use any fields at all in your class, inherit from models.Model
.
Otherwise Django will ignore those fields (the attributes will still be there in Python, but no fields will be created in the DB). Set abstract = True
to get "mixin" like behavior (i.e. no DB tables will be created for the mixins but for the models using those mixins).
If you don't use any fields, you can just inherit from object
, to keep things plain and simple.