chore(core): remove methods not required

ref: #770 #767
This commit is contained in:
2025-05-24 00:31:11 +09:30
parent 4d93ba7339
commit 28117bb2bb

View File

@ -27,11 +27,6 @@ class CenturionModel(
_notes_enabled: bool = True
"""Should a table for notes be created for this model"""
context: dict = {
'logger': None,
'request': None,
}
class Meta:
@ -218,19 +213,13 @@ class CenturionModel(
if self.id:
self._before = self.__class__.objects.get( id = self.id ).get_audit_values()
self._before = self.objects.get( id = self.id ).get_audit_values()
super().save(force_insert=force_insert, force_update=force_update, using=using, update_fields=update_fields)
def validate_constraints(self, exclude = None) -> None:
super().validate_constraints(exclude = exclude)
class CenturionSubModel(
CenturionModel
):