File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ class SponsorAdmin(SummernoteModelAdmin):
11
11
"manager_id" ,
12
12
)
13
13
list_display = (
14
- "creator" ,
15
14
"name" ,
16
15
"level" ,
17
16
"manager_name" ,
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ def get_queryset(self):
11
11
12
12
13
13
class SponsorLevel (models .Model ):
14
+ class Meta :
15
+ verbose_name = "후원사 등급"
16
+ verbose_name_plural = "후원사 등급"
17
+
14
18
name = models .CharField (max_length = 255 , blank = True , default = "" , help_text = "후원 등급명" )
15
19
desc = models .TextField (
16
20
null = True , blank = True , help_text = "후원 혜택을 입력하면 될 거 같아요 :) 후원사가 등급을 정할 때 볼 문구입니다."
@@ -61,6 +65,8 @@ def logo_image_upload_to(instance, filename):
61
65
class Sponsor (models .Model ):
62
66
class Meta :
63
67
ordering = ["paid_at" , "id" ]
68
+ verbose_name = "후원사"
69
+ verbose_name_plural = "후원사 목록"
64
70
65
71
creator = models .ForeignKey (
66
72
User ,
You can’t perform that action at this time.
0 commit comments