customize the list view in the django admin

This commit is contained in:
Brian S. Stephan 2022-09-22 08:01:23 -05:00
parent 39290fb63c
commit 7baa70d8f6
1 changed files with 7 additions and 1 deletions

View File

@ -5,4 +5,10 @@ from django.contrib import admin
from countdown.models import CountdownItem
class CountdownItemAdmin(admin.ModelAdmin):
"""Custom display for the countdown items."""
list_display = ('__str__', 'reminder_message'), CountdownItemAdmin)