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.
=================
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
Release history Release notifications | RSS feed
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)
File details
Details for the file otree-redwood-0.2.1.tar.gz
.
File metadata
- Download URL: otree-redwood-0.2.1.tar.gz
- Upload date:
- Size: 304.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07985df7f0b7098e51d7c712b2d6f5394abc030cd7c32da09c22481e726b8d1e |
|
MD5 | 25e88dae4510ee95cb5992d1d8940547 |
|
BLAKE2b-256 | 6f2e4db1d6438d46705d293f9d3a7d5cea3b51d021fe02f04bf45b3119976b70 |