tildetown-admin/ttadmin/guestbook/admin.py

7 lines
197 B
Python
Raw Normal View History

2016-12-20 06:00:00 +00:00
from django.contrib import admin
from .models import GuestbookMessage
@admin.register(GuestbookMessage)
class TicketAdmin(admin.ModelAdmin):
list_display = ('name', 'datetime_created', 'msg')