Salim Elliye 3 days ago
parent 9073ec9f68
commit b943c092a3

@ -4,7 +4,7 @@ import uuid
# Create your models here.
class BaseModel(models.Model):
uuid = models.UUIDField(default=uuid.uuid4, editable=False)
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
created_at = models.DateTimeField(auto_now_add=True, null=True)
class Meta:
abstract = True

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save