There are django modules for hierarchical navigation
https://djangopackages.org/grids/g/navigation/
-- Clive
On 19 May 2020, at 23:20, saqlain abbas wrote:
Please tell me if anyone knows about this.
On Mon, May 18, 2020 at 4:50 PM saqlain abbas
wrote:
Hi, if i add Categories , for
you could have a field "parent" in your Model Category which is a
ForeignKey to Category itself, so Category is a self-referencing table.
Then in your first dropdown you only show those entries where parent is
None and in your second one where parent == accessories.
you need to get this right
Please tell me if anyone knows about this.
On Mon, May 18, 2020 at 4:50 PM saqlain abbas
wrote:
> Hi, if i add Categories , for example
> 1)accessories
> 2)sports
> 3)books
> Subcategories:
> accessories is the parent category
> child categories are
> watches
> jewlry
> caps
> how can i show if
Hi, if i add Categories , for example
1)accessories
2)sports
3)books
Subcategories:
accessories is the parent category
child categories are
watches
jewlry
caps
how can i show if user selects the parent category accessories then the
subcategories show according to parent categories like
4 matches
Mail list logo