"many_to_many"
Purpose: linking of models with a relations when one record from each table can be related to several records from another one
Field type in SQL table: the field in model isn't specified, but a linked table needs to be created with 2 columns for an ID of each model.
Required parameters
"related_model"
Purpose: the name of a model which the current model relates to
Possible values: name of a model, for example "People"
"linking_table"
Purpose: name of the linking table
Possible values: the name, for example "people_groups" (there are 2 integer columns in this table - "people_id" and "groups_id")
Additional parameters
"name_field"
Purpose: if there is no "name" field in the linked model, you need to specify a nominal field
Possible values: text, for example "title"
By default: not set
"long_list"
Purpose: applicable if the list of values has too long length, then the values will be received with the help of search string
Possible values: "true", "false"
By default: "false"
Detailed examples of such datatype using are described in Many to many section.
Previous section
"many_to_one"