fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8b3cbd5905ebb1f78233b9d96c4cb7e24dfde6a3
[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)