Bad method called for Search remove note
This commit is contained in:
parent
712ae02a32
commit
ff010746a3
|
@ -129,7 +129,7 @@ def post_save_note_signal(sender, **kwargs):
|
||||||
@receiver(pre_delete, sender=Note)
|
@receiver(pre_delete, sender=Note)
|
||||||
def pre_delete_note_signal(sender, **kwargs):
|
def pre_delete_note_signal(sender, **kwargs):
|
||||||
s = Search()
|
s = Search()
|
||||||
s.remove_note(kwargs['instance'].id)
|
s.delete_note(kwargs['instance'].id)
|
||||||
|
|
||||||
def manage_category(user, cat_name):
|
def manage_category(user, cat_name):
|
||||||
category = None
|
category = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user