Dénote

Dénote Commit Details

Date:2016-01-26 19:31:32 (3 years 5 months ago)
Author:Grégory Soutadé
Branch:master
Commit:ff010746a395aeeae10d9f76f133dc40a5ebee38
Parents: 712ae02a3206f0032eddbeee7a21ec384f309799
Message:Bad method called for Search remove note

Changes:
Mdenote/models.py (1 diff)

File differences

denote/models.py
129129
130130
131131
132
132
133133
134134
135135
@receiver(pre_delete, sender=Note)
def pre_delete_note_signal(sender, **kwargs):
s = Search()
s.remove_note(kwargs['instance'].id)
s.delete_note(kwargs['instance'].id)
def manage_category(user, cat_name):
category = None

Archive Download the corresponding diff file

Branches

Tags