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"]