From 043ac8841820602204f167535f9c6800a3ab34c6 Mon Sep 17 00:00:00 2001 From: sm4640 Date: Fri, 16 May 2025 03:34:38 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Feat:=20[#56]=20contenttype=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=96=88=EB=8B=A4=EA=B0=80=20=EC=A3=BC?= =?UTF-8?q?=EC=84=9D=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codes/models.py b/codes/models.py index 43c84c7..21ba956 100644 --- a/codes/models.py +++ b/codes/models.py @@ -4,6 +4,11 @@ from common.models.baseModels import BaseModel from common.models.choiceModels import CertificateCodeUseType, InviteCodeUseType from common.utils.codeManger import set_expire +# from django.contrib.contenttypes.fields import GenericForeignKey +# from django.contrib.contenttypes.models import ContentType + +# from projects.models import Project + class CertificationCode(BaseModel): use_type = models.CharField(choices=CertificateCodeUseType.choices, max_length=5) @@ -17,3 +22,4 @@ class InviteCode(BaseModel): code = models.CharField(max_length=10) expire_at = models.DateTimeField(default=set_expire) # 일주일은 10080분 identifier = models.CharField(max_length=40) +