Maybe this will invoke celery
authorCharles Connell <charles@connells.org>
Sat, 10 May 2014 23:13:18 +0000 (19:13 -0400)
committerCharles Connell <charles@connells.org>
Sat, 10 May 2014 23:13:18 +0000 (19:13 -0400)
karmaworld/apps/notes/views.py

index 26849b1b8424a37e3fe3346b27e71a9f6cc1754c..ff906ff58cd8a03572bdd73bce046ffd2d241940 100644 (file)
@@ -311,7 +311,7 @@ def process_note_thank_events(request_user, note):
     # If note thanks exceeds a threshold, create a Mechanical
     # Turk task to get some keywords for it
     if note.thanks == 3:
-        submit_extract_keywords_hit(note)
+        submit_extract_keywords_hit.delay(note)
 
 
 def thank_note(request, pk):