Skip to main content

oTree extension for inter-page communication.

Project description

oTree Redwood Extension
=================

The oTree Redwood extension enables inter-page communication in an oTree
experiment.

Installation
------------

(Requires otree-core >= 1.2)

.. code-block::

pip3 install -U otree-core
pip3 install -U otree-redwood

In ``settings.py``, add ``'otree-redwood'`` to ``INSTALLED_APPS``,
e.g. ``INSTALLED_APPS = ['otree', 'otree-redwood']``

Then run ``otree resetdb``.

For installation on your server, your ``requirements_base.txt`` should
contain ``otree-redwood`` as well as ``otree-core>=1.2.0`` (or higher, etc).

Usage
-----

Basic usage
~~~~~~~~~~~

Add ``{% load otree_redwood %}`` to the top of your template, e.g.:

.. code-block:: html+django

{% load staticfiles otree_tags %}
{% load otree_redwood %}

Exporting CSV logs
--------------------------

Upgrading
---------

pip install -U otreechat

TODO
----
Awesome debugging - watch events live in otree-redwood-debug, filter events
by group, participant, channel, and values. Save and replay events into the
otree-events component.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otree-redwood-0.2.1.tar.gz (304.7 kB view details)

Uploaded Source

File details

Details for the file otree-redwood-0.2.1.tar.gz.

File metadata

File hashes

Hashes for otree-redwood-0.2.1.tar.gz
Algorithm Hash digest
SHA256 07985df7f0b7098e51d7c712b2d6f5394abc030cd7c32da09c22481e726b8d1e
MD5 25e88dae4510ee95cb5992d1d8940547
BLAKE2b-256 6f2e4db1d6438d46705d293f9d3a7d5cea3b51d021fe02f04bf45b3119976b70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page