diff --git a/README.md b/README.md index 6c8da28..9a515cb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -QQ群: 894859699 -![preview](preview.png) +QQ群: 894859699 +![preview](preview.png)/image/site diff --git a/comment/admin.py b/comment/admin.py index 236cce7..1126bc9 100644 --- a/comment/admin.py +++ b/comment/admin.py @@ -2,6 +2,9 @@ from .models import Comment # Register your models here. + @admin.register(Comment) + class CommentAdmin(admin.ModelAdmin): - list_display = ('id', 'content_object', 'text', 'comment_time', 'user', 'root', 'parent') \ No newline at end of file + +list_display = ('id', 'content_object', 'text', 'comment_time', 'user', 'root', 'parent')