<filename>django/catstagram/cats/admin.py
from django.contrib import admin

from .models import Cat


@admin.register(Cat)
class CatAdmin(admin.ModelAdmin):
    list_display = (
        'name',
        'image',
    )

<filename>django/catstagram/cats/admin.py
from django.contrib import admin

from .models import Cat


@admin.register(Cat)
class CatAdmin(admin.ModelAdmin):
    list_display = (
        'name',
        'image',
    )
