Gotta get it running again
authorCharles Connell <charles@connells.org>
Sat, 14 Jun 2014 22:34:09 +0000 (18:34 -0400)
committerCharles Connell <charles@connells.org>
Sat, 14 Jun 2014 22:34:39 +0000 (18:34 -0400)
karmaworld/apps/quizzes/admin.py
karmaworld/apps/quizzes/tasks.py

index c7e669f3a8652f20091bcc26de1544657cdb2bf7..f2ee5728d24cf3e7cef6bf2df362e6043667a79e 100644 (file)
@@ -2,7 +2,8 @@
 # -*- coding:utf8 -*-
 # Copyright (C) 2014  FinalsClub Foundation
 from django.contrib import admin
-from karmaworld.apps.quizzes.models import Keyword, HIT
+from karmaworld.apps.quizzes.models import Keyword, KeywordExtractionHIT, EmailParsingHIT
 
 admin.site.register(Keyword)
-admin.site.register(HIT)
+admin.site.register(KeywordExtractionHIT)
+admin.site.register(EmailParsingHIT)
index 5b2cc7c0236160e6c7e9a0f95cad7e7e1dc98dcc..53ae4daca25ef24341283b7f479de826e33f322e 100644 (file)
@@ -382,9 +382,5 @@ def check_notes_mailbox():
                       keywords=EMAIL_HIT_KEYWORDS, duration=EMAIL_HIT_DURATION,
                       reward=EMAIL_HIT_REWARD, qualifications=EMAIL_HIT_QUALIFICATION)[0]
 
-        hit_object = EmailParsingHIT(HITId=hit.HITId, processed=False)
-        for attachment in attachments:
-            #fields = ('name', 'tags', 'course', 'fp_file', 'mimetype', 'category')
-            document = Document.objects.create(name=)
 
     #mailbox.quit()