Skip to content

Commit 9acdddf

Browse files
committed
Add reminder message to admin
1 parent c011220 commit 9acdddf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

bakeup/workshop/admin.py

+12
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
ProductionPlan,
1111
ProductMapping,
1212
ProductPrice,
13+
ReminderMessage,
1314
)
1415

1516

@@ -61,3 +62,14 @@ class ProductMappingAdmin(admin.ModelAdmin):
6162
"production_day",
6263
"matched_count",
6364
)
65+
66+
67+
@admin.register(ReminderMessage)
68+
class ReminderMessageAdmin(admin.ModelAdmin):
69+
list_display = (
70+
"state",
71+
"point_of_sale",
72+
"sent_date",
73+
"created",
74+
"updated",
75+
)

0 commit comments

Comments
 (0)