start auth apis and packages, redis, celery and run with docker
This commit is contained in:
@@ -0,0 +1 @@
|
||||
from .base import *
|
||||
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(editable=False, primary_key=True, unique=True, default=uuid.uuid4)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
Reference in New Issue
Block a user