Skip to content

Commit 8cbda69

Browse files
committed
Add information about selection fields with integer indexes
1 parent 6aea6f4 commit 8cbda69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/fields.rst

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ Selection must be set as a list of tuples or a callable that returns a list of t
180180
Specific options:
181181

182182
* selection: a list of tuple or a callable name that take recordset as input
183+
* size: the option size=1 is mandatory when using indexes that are integers, not strings
183184

184185
When extending a model, if you want to add possible values to a selection field,
185186
you may use the `selection_add` keyword argument::

0 commit comments

Comments
 (0)