March 2020
Intermediate to advanced
608 pages
17h 17m
English
When one or more categories need to be selected at once in a form, you can use the TreeNodeMultipleChoiceField multiple selection field that is provided by django-mptt. However, multiple selection fields (for example, <select multiple>) are not very user-friendly from an interface point of view, as the user needs to scroll and hold control or command keys while clicking to make multiple choices. Especially when there is a fairly large number of items to choose from, and the user wants to select several at once, or the user has accessibility handicaps, such as poor motor control, this can lead to a really awful user experience. A much better approach is to provide ...