mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Removes the unused Log model and LogFilterSet (#9294)
This commit is contained in:
parent
780d1c67e9
commit
f3e6ed56b9
3 changed files with 15 additions and 38 deletions
|
|
@ -36,7 +36,6 @@ from documents.models import CustomField
|
|||
from documents.models import CustomFieldInstance
|
||||
from documents.models import Document
|
||||
from documents.models import DocumentType
|
||||
from documents.models import Log
|
||||
from documents.models import PaperlessTask
|
||||
from documents.models import ShareLink
|
||||
from documents.models import StoragePath
|
||||
|
|
@ -761,12 +760,6 @@ class DocumentFilterSet(FilterSet):
|
|||
}
|
||||
|
||||
|
||||
class LogFilterSet(FilterSet):
|
||||
class Meta:
|
||||
model = Log
|
||||
fields = {"level": INT_KWARGS, "created": DATE_KWARGS, "group": ID_KWARGS}
|
||||
|
||||
|
||||
class ShareLinkFilterSet(FilterSet):
|
||||
class Meta:
|
||||
model = ShareLink
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue