{% extends "otree/admin/Session.html" %} {% load otree i18n %} {% block content %} {{ block.super }} {% if not mturk_ready %}
MTurk is currently disabled. If you want to publish your HIT on MTurk please do the following steps:
Step | Done? |
---|---|
Run pip3 install otree[mturk]
and in your requirements_base.txt ,
replace otree==N.N.N with otree[mturk]==N.N.N .
This will install oTree along with extra MTurk-specific packages.
|
{% if boto3_installed %}Yes{% else %}No{% endif %} |
Set the settings AWS_ACCESS_KEY_ID and
AWS_SECRET_ACCESS_KEY |
{% if aws_keys_exist %}Yes{% else %}No{% endif %} |
View this page with HTTPS.
|
{% if https %}Yes{% else %}No{% endif %} |
You can read more about Amazon Mechanical Turk integration here.
{% elif session.mturk_is_expired %}This HIT has expired, so workers can no longer accept assignments.
{% elif session.mturk_HITId %}You have published HIT for this session on MTurk {% if session.mturk_use_sandbox %} Sandbox {% endif %} .
To look at the HIT as a worker follow this link.
The above button will expire this HIT early. You should click this button before deleting the session. Otherwise, your nonexistent session will still be advertised on the MTurk website, and MTurk workers will get a "page not found" error. (However, it is safe to delete the session if all assignments have been submitted.)
{% else %} {% if form.errors %}