{% extends "otree/BaseAdmin.html" %} {% block title %} Server Readiness Checks {% endblock %} {% block content %} {% if pypi_results.installed == pypi_results.newest %}
You have the latest version of oTree ({{ pypi_results.installed }}).
{% else %}
You have oTree {{ pypi_results.installed }}. The newest version is {{ pypi_results.newest|default:"(unknown_pypi_connection_error)" }}.
{% endif %} {% if sqlite %}
Using SQLite You are using SQLite, which is only suitable for testing. Before launching a study, you should upgrade to Postgres.
{% else %}
You are using a proper database (Postgres, MySQL, etc).
{% endif %} {% if debug %}
DEBUG mode is on You should only use DEBUG mode when testing. Before launching a study, you should switch DEBUG mode off by setting the environment variable OTREE_PRODUCTION.
{% else %}
DEBUG mode is off
{% endif %} {% if not auth_level_ok %}
No password protection To prevent unauthorized server access, you should set the environment variable OTREE_AUTH_LEVEL.
{% else %}
Password protection is on. Your app's AUTH_LEVEL is {{ auth_level }}.
{% endif %} {% if not db_synced %}
Database is missing tables You should reset the database (resetdb).
{% else %}
Your database appears to be synced.
{% endif %} {% endblock %}