Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 405 Bytes
from django.contrib import admin
from feedback.models import FeedBack
class AdminFeddbackClass(admin.ModelAdmin):
list_display = ('feedback_name', 'feedback_type', 'post_date')
list_filter = ('feedback_type',)
readonly_fields = ('feedback_name', 'feedback_email', 'feedback_contact_number', 'feedback_type',
'post_date', 'feedback')
admin.site.register(FeedBack, AdminFeddbackClass)
Something went wrong with that request. Please try again.