<filename>newspaper/articles/admin.py
from django.contrib import admin
from .models import *
# Register your models here.


class CommentInLine(admin.TabularInline):
    model = Comment


class ArticleAdmin(admin.ModelAdmin):
    inlines = [
        CommentInLine,
    ]


admin.site.register(Article, ArticleAdmin)
admin.site.register(Comment)

<filename>newspaper/articles/admin.py
from django.contrib import admin
from .models import *
# Register your models here.


class CommentInLine(admin.TabularInline):
    model = Comment


class ArticleAdmin(admin.ModelAdmin):
    inlines = [
        CommentInLine,
    ]


admin.site.register(Article, ArticleAdmin)
admin.site.register(Comment)

# Register your models here.