from django.contrib import admin
from speech.models import Record, Feedback


class RecordAdmin(admin.ModelAdmin):
    list_display = ['text', 'error']

admin.site.register(Record, RecordAdmin)


class FeedbackAdmin(admin.ModelAdmin):
    list_display = ['time', 'name', 'email', 'text']

admin.site.register(Feedback, FeedbackAdmin)
