from django.contrib import admin
from my_blog.models import Article, Comment


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = ('id', 'author', 'title', 'author_key_id')
    search_fields = ['id', 'author', 'title']


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = ('article_id', 'comment')

75c4d6ef244a32fe3ebd889162aad00d7350b8e3
<mask token>


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = 'article_id', 'comment'

<mask token>


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = 'article_id', 'comment'

<mask token>


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = 'id', 'author', 'title', 'author_key_id'
    search_fields = ['id', 'author', 'title']


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = 'article_id', 'comment'

from django.contrib import admin
from my_blog.models import Article, Comment


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = 'id', 'author', 'title', 'author_key_id'
    search_fields = ['id', 'author', 'title']


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = 'article_id', 'comment'

from django.contrib import admin
from my_blog.models import Article, Comment


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = ('id', 'author', 'title', 'author_key_id')
    search_fields = ['id', 'author', 'title']


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display = ('article_id', 'comment')
