Dear all,
I am trying to transform the old version of oTree code into the newest one.
In pages.py of the old version, codes in class page are shown below
Now I have converted these codes as follows
When I started the oTree server,I got a traceback
I have written 'for p in subsession.get_players()' in class subsession and it did work. How should I get the get_players() attribute work in class page?
Thanks,
Milley