Changes between Initial Version and Version 1 of Ticket #33035
- Timestamp:
- Aug 18, 2021, 4:05:29 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33035
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #33035 – Description
initial v1 6 6 {{{ 7 7 class Project 8 categories = M2M [having "Cat A", "Cat B", "Cat C", etc.]9 subcategories = M2M [having "Sub A1", "Sub A2", "Sub C1", etc.]8 categories = M2M [having "Cat A", "Cat B", "Cat C", "Cat D", etc.] 9 subcategories = M2M [having "Sub A1", "Sub A2", "Sub B1", "Sub B2", "Sub C1", "Sub C2", etc.] 10 10 }}} 11 11 12 12 13 When selecting ''Cat A'' in the **category** it would populate **subcategory** limited based on which categories are selected) 13 When selecting ''Cat A'' in the **category** it would populate **subcategory** limiting options to "Sub A1", "Sub A2", "Sub C1", "Sub C2", based on their parents, but not "Cat B" nor "Cat D" children). 14 15 I know this is possible using Ajax, django-autocomplete-light or similar, but it's so frequently used that I think it makes sense to be included in Django itself.