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.tar.gz (298.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: otree-redwood-0.2.tar.gz
  • Upload date:
  • Size: 298.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for otree-redwood-0.2.tar.gz
Algorithm Hash digest
SHA256 3f5faf184763a983982ce2ee1c0bc4ea126e25608ffd3faee3765420c5864862
MD5 87750d2875eb377fadb11e1b8c1a27d7
BLAKE2b-256 5d4f518ce06f2744c40eb2ef12c0f59332d49750509b8da5148ea0313b294181

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