class UuidMixin(models.Model): """ Mixin to identify models by UUID. """ class Meta: abstract = True uuid = UUIDField()
class UuidMixin(models.Model): # There is circular dependency between logging and core applications. # Core models are loggable. So we cannot use UUID mixin here. class Meta: abstract = True uuid = UUIDField()