mirror olimpiada migration (shared db)
[edumed.git] / comment / admin.py
1 # -*- coding: utf-8 -*-
2 from django.contrib import admin
3
4 from .models import CommentDocument
5
6
7 class CommentDocumentAdmin(admin.ModelAdmin):
8     prepopulated_fields = {"slug": ("name",)}
9
10 admin.site.register(CommentDocument, CommentDocumentAdmin)