1 # -*- coding: utf-8 -*-
2 from django.contrib import admin
4 from .models import CommentDocument
7 class CommentDocumentAdmin(admin.ModelAdmin):
8 prepopulated_fields = {"slug": ("name",)}
10 admin.site.register(CommentDocument, CommentDocumentAdmin)