Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Nov 21, 2022
1 parent 1917a19 commit 27db2bb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
20 changes: 20 additions & 0 deletions source/misc/version_history.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Version history
```````````````

Version 5.10
============

For IntegerField/FloatField/CurrencyField, if ``min`` is not specified, it will be assumed to be 0.
If you need a form field to accept negative values, set ``min=`` to a negative value (or ``None``).

Benefits of this change:

- Most numeric inputs on mobile can now use the numeric keypad
- Prevents unintended negative inputs from users.
For example, if you forgot to specify ``min=0`` for your "contribution" field,
then a user could 'hack' the game by entering a negative contribution.

Other changes:

- MTurk integration works even on Python >= 3.10 (removed dependency on the boto3 library)
- Python 3.11 support
- bots: better error message when bot is on the wrong page


Version 5.9
===========

Expand Down
6 changes: 6 additions & 0 deletions source/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,12 @@ Mobile devices
Bootstrap tries to show a "mobile friendly" version
when viewed on a smartphone or tablet.

..
Best way to test on mobile is to use Heroku.
``otree zipserver`` doesn't accept a 'port' argument.
Also, devserver/zipserver seem to have issues with shutdown/reloading
and freeing up the port.

Charts
------
Expand Down

0 comments on commit 27db2bb

Please sign in to comment.