Fix #1154 -- Add country-typed questions

This commit is contained in:
Raphael Michel
2019-05-09 09:13:35 +02:00
parent e7c4121745
commit c8a1481f93
6 changed files with 30 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ type string The expected ty
* ``D`` date
* ``H`` time
* ``W`` date and time
* ``CC`` country code (ISO 3666-1 alpha-2)
required boolean If ``true``, the question needs to be filled out.
position integer An integer, used for sorting
items list of integers List of item IDs this question is assigned to.
@@ -72,7 +73,7 @@ dependency_value string The value ``dep
.. versionchanged:: 2.7
The attribute ``hidden`` has been added.
The attribute ``hidden`` and the question type ``CC`` have been added.
Endpoints
---------