Add duplicated document scan support.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ from django.contrib import admin
|
||||
|
||||
from .models import (
|
||||
DeletedDocument, Document, DocumentPage, DocumentType,
|
||||
DocumentTypeFilename, DocumentVersion, RecentDocument
|
||||
DocumentTypeFilename, DocumentVersion, DuplicatedDocument, RecentDocument
|
||||
)
|
||||
|
||||
|
||||
@@ -55,6 +55,13 @@ class DocumentTypeAdmin(admin.ModelAdmin):
|
||||
)
|
||||
|
||||
|
||||
@admin.register(DuplicatedDocument)
|
||||
class DuplicatedDocumentAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
'document', 'datetime_added'
|
||||
)
|
||||
|
||||
|
||||
@admin.register(RecentDocument)
|
||||
class RecentDocumentAdmin(admin.ModelAdmin):
|
||||
date_hierarchy = 'datetime_accessed'
|
||||
|
||||
Reference in New Issue
Block a user