from django.contrib import admin
from .models import Speaker, Speeches, Comment

class SpeakerAdmin(admin.ModelAdmin):
    list_display = ('last_name', 'first_name', 'middle_name')
    fields = ['first_name', 'middle_name', 'last_name', 'Bio']

admin.site.register(Speaker, SpeakerAdmin)

#admin.site.register(Speeches)
#admin.site.register(Speaker)

@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = ('title', 'Speaker', 'date_of_post')
    
admin.site.register(Comment)
71b84f00b11f11e2f3e9dc54898eece3b93e7ecd
<mask token>


class SpeakerAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


<mask token>


@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = 'title', 'Speaker', 'date_of_post'


<mask token>

<mask token>


class SpeakerAdmin(admin.ModelAdmin):
    list_display = 'last_name', 'first_name', 'middle_name'
    fields = ['first_name', 'middle_name', 'last_name', 'Bio']


<mask token>


@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = 'title', 'Speaker', 'date_of_post'


<mask token>

<mask token>


class SpeakerAdmin(admin.ModelAdmin):
    list_display = 'last_name', 'first_name', 'middle_name'
    fields = ['first_name', 'middle_name', 'last_name', 'Bio']


admin.site.register(Speaker, SpeakerAdmin)


@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = 'title', 'Speaker', 'date_of_post'


admin.site.register(Comment)

from django.contrib import admin
from .models import Speaker, Speeches, Comment


class SpeakerAdmin(admin.ModelAdmin):
    list_display = 'last_name', 'first_name', 'middle_name'
    fields = ['first_name', 'middle_name', 'last_name', 'Bio']


admin.site.register(Speaker, SpeakerAdmin)


@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = 'title', 'Speaker', 'date_of_post'


admin.site.register(Comment)

from django.contrib import admin
from .models import Speaker, Speeches, Comment

class SpeakerAdmin(admin.ModelAdmin):
    list_display = ('last_name', 'first_name', 'middle_name')
    fields = ['first_name', 'middle_name', 'last_name', 'Bio']

admin.site.register(Speaker, SpeakerAdmin)

#admin.site.register(Speeches)
#admin.site.register(Speaker)

@admin.register(Speeches)
class SpeechesAdmin(admin.ModelAdmin):
    list_display = ('title', 'Speaker', 'date_of_post')
    
admin.site.register(Comment)