Skip to content

Commit 6e579c5

Browse files
authored
Merge pull request #36 from pers0n4/hotfix/user-model-str-method
`Sponsor` 모델 `__str__` 메서드 오타 수정
2 parents b1712fd + c6d5b8d commit 6e579c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sponsor/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ class Meta:
150150
created_at = models.DateTimeField(auto_now_add=True)
151151
updated_at = models.DateTimeField(auto_now=True)
152152

153-
def __str_(self):
153+
def __str__(self):
154154
return f"{self.name}/{self.level}"

0 commit comments

Comments
 (0)