mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01: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:
parent
3378ac1487
commit
942fab7298
5 changed files with 48 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue