from django.contrib import admin
from .models import Author


class AuthorAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday_year', )
    list_display_links = ('first_name', 'last_name', 'birthday_year', )
    search_fields = ('first_name', 'last_name', 'birthday_year', )


admin.site.register(Author, AuthorAdmin)

46e6e17194435ccbaf42e67631ff8d8c78292be8
<mask token>


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


<mask token>

<mask token>


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'first_name', 'last_name', 'birthday_year'
    list_display_links = 'first_name', 'last_name', 'birthday_year'
    search_fields = 'first_name', 'last_name', 'birthday_year'


<mask token>

<mask token>


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'first_name', 'last_name', 'birthday_year'
    list_display_links = 'first_name', 'last_name', 'birthday_year'
    search_fields = 'first_name', 'last_name', 'birthday_year'


admin.site.register(Author, AuthorAdmin)

from django.contrib import admin
from .models import Author


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'first_name', 'last_name', 'birthday_year'
    list_display_links = 'first_name', 'last_name', 'birthday_year'
    search_fields = 'first_name', 'last_name', 'birthday_year'


admin.site.register(Author, AuthorAdmin)

from django.contrib import admin
from .models import Author


class AuthorAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday_year', )
    list_display_links = ('first_name', 'last_name', 'birthday_year', )
    search_fields = ('first_name', 'last_name', 'birthday_year', )


admin.site.register(Author, AuthorAdmin)
