You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs state that a full-featured model should be created like so:
class MyModel(BaseModel, RevisionModelMixin, CreatedModifiedByMixin)
However, there seems to be no used for the abstract BaseModel, just doing this ways seems to work so far, since only RevisionModelMixin inherits from Model. The order of both doesn't seem important either.
class MyRecord(RevisionModelMixin, CreatedModifiedByMixin)
Am I missing something ?
The text was updated successfully, but these errors were encountered:
The docs state that a full-featured model should be created like so:
However, there seems to be no used for the abstract BaseModel, just doing this ways seems to work so far, since only RevisionModelMixin inherits from Model. The order of both doesn't seem important either.
Am I missing something ?
The text was updated successfully, but these errors were encountered: