Variable¶
Class that describes a variable that you can search for.
Parameters with the prefix “gui__” will be passed along downstream to the tri.form.Field instance if applicable. This can be used to tweak the basic style interface.
Refinable members¶
- after
- attr
- choices
- extra
- freetext
- gui
- gui_op
- model
- model_field
- name
- op_to_q_op
- show
- value_to_q
- value_to_q_lookup
Defaults¶
- gui__required
- False
- gui__show
- False
- gui_op
- =
- show
- True
Shortcuts¶
boolean¶
boolean_tristate¶
case_sensitive¶
choice¶
- Field that has one value out of a set.
type choices: list
choice_queryset¶
- Field that has one value out of a set.
type choices: django.db.models.QuerySet
date¶
datetime¶
decimal¶
email¶
float¶
foreign_key¶
integer¶
many_to_many¶
multi_choice¶
- Field that has one value out of a set.
type choices: list