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.

Pushing to PyPI
---------------

Increment version number in ``setup.py``.

.. code-block::
python setup.py sdist upload -r pypi

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for otree-redwood-0.3.0.tar.gz
Algorithm Hash digest
SHA256 81f73ade5add5164c20fbcc18f78f77a95e960b27c7b0a66c11837df3eb354d5
MD5 9f91889c162c6bd64fa16073d25b7dae
BLAKE2b-256 3004b93f219bc0fb3ab0cbca9dccf665e14525efde6990cd2b3e82a3598212c1

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