<reponame>herschel-ma/django_blogsite_and_more
from django.contrib import admin
from .models import Comment

@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display=('id','content_type','text','created_time','user','root','parent')

from django.contrib import admin
from .models import Comment

@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    list_display=('id','content_type','text','created_time','user','root','parent')