Changes between Initial Version and Version 1 of Ticket #33035


Ignore:
Timestamp:
Aug 18, 2021, 4:05:29 PM (3 years ago)
Author:
Jon Levischi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33035

    • Property Owner changed from nobody to Jon Levischi
    • Property Status newassigned
  • Ticket #33035 – Description

    initial v1  
    66{{{
    77class 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.]
    1010}}}
    1111
    1212
    13 When selecting ''Cat A'' in the **category** it would populate **subcategory** limited based on which categories are selected)
     13When 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
     15I 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.
Back to Top