Echo-Z/comment/admin.py

7 lines
244 B
Python

from django.contrib import admin
from comment.models import Comment
# Register your models here.
@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
list_display = ["comment_content","comment_user","comment_time", "archives_id"]