Renamed DocumentMetadataindex model to DocumentIndex and moved it to it's own app
This commit is contained in:
23
apps/document_indexing/admin.py
Normal file
23
apps/document_indexing/admin.py
Normal file
@@ -0,0 +1,23 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from document_indexing.models import DocumentIndex
|
||||
|
||||
#from filesystem_serving.admin import DocumentMetadataIndexInline
|
||||
|
||||
|
||||
#class MetadataIndexInline(admin.StackedInline):
|
||||
# model = MetadataIndex
|
||||
# extra = 1
|
||||
# classes = ('collapse-open',)
|
||||
# allow_add = True
|
||||
|
||||
|
||||
class DocumentIndexAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
#inlines = [
|
||||
# DocumentMetadataIndexInline,
|
||||
#
|
||||
|
||||
|
||||
|
||||
admin.site.register(DocumentIndex, DocumentIndexAdmin)
|
||||
Reference in New Issue
Block a user