# -*- 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)
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()