use ABIDAdmin as base ModelAdmin

This commit is contained in:
Nick Sweeting 2024-08-20 19:26:40 -07:00
parent 57e48b432c
commit ea81f2fc14
No known key found for this signature in database
3 changed files with 44 additions and 8 deletions

View file

@ -93,7 +93,6 @@ class ABIDModel(models.Model):
super().save(*args, **kwargs)
assert str(self.id) == str(self.ABID.uuid), f'self.id {self.id} does not match self.ABID {self.ABID.uuid}'
assert str(self.abid) == str(self.ABID), f'self.abid {self.id} does not match self.ABID {self.ABID.uuid}'
@property
def abid_values(self) -> Dict[str, Any]: