Skip to content

Commit

Permalink
fix(calendar): remove type hint for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
injoonH committed Jan 3, 2024
1 parent f79ebf3 commit 371b6e9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions apps/calendar/models/event.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
from __future__ import annotations

from typing import TYPE_CHECKING

from django.db import models

from ara.db.models import MetaDataModel

if TYPE_CHECKING:
from .tag import Tag


class Event(MetaDataModel):
is_all_day = models.BooleanField(
Expand Down Expand Up @@ -55,7 +48,7 @@ class Event(MetaDataModel):
blank=True,
null=True,
)
tags: list[Tag] = models.ManyToManyField(
tags = models.ManyToManyField(
verbose_name="태그",
to="calendar.Tag",
blank=True,
Expand Down

0 comments on commit 371b6e9

Please sign in to comment.