mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Add support for docs comments
This commit is contained in:
7
pgweb/docs/admin.py
Normal file
7
pgweb/docs/admin.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.contrib import admin
|
||||
from models import *
|
||||
|
||||
class DocCommentAdmin(admin.ModelAdmin):
|
||||
list_display = ('file', 'version', 'posted_at', 'approved', )
|
||||
|
||||
admin.site.register(DocComment, DocCommentAdmin)
|
Reference in New Issue
Block a user