]> git.cworth.org Git - turbot/commit
Add a multi-select round field to puzzle creation
authorCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 01:00:33 +0000 (17:00 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 05:47:32 +0000 (21:47 -0800)
commitfc6a00f58bfc526e327c41bf989275b824004a88
treef0cbc59b5fa53184e5992d578c8891d653657029
parent7a68a1c7360a30d046d9e415dd3ab6294db97173
Add a multi-select round field to puzzle creation

Actually, there are two round fields. The first is a free-form text
field for a comma-separated list of rounds. Each of these rounds will
be added to the database as an item with only two attributes:

hunt_id: <HUNT_ID>
        SK: round-<ROUND>

The other field is a multi-select field populated with the names of
all rounds that already exist in the hunt. This makes for easy
selection without having to worry about typing in names identical with
what others typed previously.
turbot/blocks.py
turbot/interaction.py