mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
I removed the model save/delete hooks for index updates since they were causing too much trouble with migrations
This commit is contained in:
@@ -166,3 +166,7 @@ def set_log_entry(sender, document=None, logging_group=None, **kwargs):
|
||||
user=user,
|
||||
object_repr=document.__str__(),
|
||||
)
|
||||
|
||||
|
||||
def add_to_index(sender, document, **kwargs):
|
||||
index.add_or_update_document(document)
|
||||
|
Reference in New Issue
Block a user