change: change apps folder
This commit is contained in:
0
core/apps/shared/models/__init__.py
Normal file
0
core/apps/shared/models/__init__.py
Normal file
12
core/apps/shared/models/base.py
Normal file
12
core/apps/shared/models/base.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import uuid
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
class BaseModel(models.Model):
|
||||
id = models.UUIDField(primary_key=True, editable=False, unique=True, default=uuid.uuid4)
|
||||
created_at = models.DateTimeField(auto_created=True)
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
Reference in New Issue
Block a user