Correct signal deregistration for indexation.
authorymh <ymh.work@gmail.com>
Thu, 02 Jan 2014 17:43:43 +0100
changeset 1276 d4f1dd0eb8bf
parent 1275 38c396f3ced8
child 1277 622989468114
Correct signal deregistration for indexation. + forgotten indexation template
src/ldt/ldt/indexation/signals.py
src/ldt/ldt/indexation/templates/search/indexes/ldt_utils/content_text.txt
--- a/src/ldt/ldt/indexation/signals.py	Thu Jan 02 17:09:42 2014 +0100
+++ b/src/ldt/ldt/indexation/signals.py	Thu Jan 02 17:43:43 2014 +0100
@@ -35,6 +35,6 @@
         from ldt.text.models import Annotation
 
         self.__disconnect_signals(Annotation)
-        self.__connect_signals(Content)
+        self.__disconnect_signals(Content)
         self.__disconnect_signals(Segment)
         
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ldt/ldt/indexation/templates/search/indexes/ldt_utils/content_text.txt	Thu Jan 02 17:43:43 2014 +0100
@@ -0,0 +1,3 @@
+{{object.tags}}
+{{object.title}}
+{{object.description}}
\ No newline at end of file