fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Translation for curriculum app
[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)