{% extends "otree/admin/Session.html" %} {% load otree_tags floppyforms %} {% block internal_scripts %} {{ block.super }} {% endblock %} {% block content %} {{ block.super }} {% if runserver %}
You are using runserver. On this version of oTree, you may not be able to create HITs when using runserver, because runserver does not support HTTPS. We plan to fix this quite soon, but for now, in order to do MTurk testing, you need to run oTree on an HTTPS server (e.g. Heroku), or downgrade to oTree 0.4.xx.
{% endif %} {% if not mturk_enabled %}

MTurk is currently disabled. If you want to publish your HIT on MTurk please do the following steps:

  1. set environmental variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  2. restart the server
  3. access this page via secured url {{ secured_url }}
You can read more about Amazon Mechanical Turk integration here.

{% else %} {% if not session.mturk_HITId %} {% form form using "floppyforms/layouts/bootstrap.html" %} {% else %}

You have published HIT for this session on MTurk {% if session.mturk_sandbox %} Sandbox {% endif %} .

To look at the HIT as requester follow this link.
To look at the HIT as a worker follow this link.

{% endif %} {% endif %} {% include "otree/includes/messages.html" %} {% endblock %}