Fixes #3314, #3331: Various minor fixes.
[edumed.git] / comment / admin.py
1 from django.contrib import admin
2
3 from .models import CommentDocument
4
5
6 class CommentDocumentAdmin(admin.ModelAdmin):
7     prepopulated_fields = {"slug": ("name",)}
8
9 admin.site.register(CommentDocument, CommentDocumentAdmin)