2016-12-19 07:20:48 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
from .models import Ticket
|
|
|
|
|
|
|
|
@admin.register(Ticket)
|
|
|
|
class TicketAdmin(admin.ModelAdmin):
|
2019-01-19 18:46:20 +00:00
|
|
|
list_display = ('submitted', 'issue_status', 'issue_type', 'name', 'email')
|
|
|
|
list_filter = ('issue_status', 'issue_type')
|
2017-11-10 23:33:09 +00:00
|
|
|
fields = ('name', 'email', 'issue_status', 'issue_type', 'issue_text')
|