#django #selfrelationship #subcategory
Django Category Sub Category hierarchical database self recursion table model (3/3)
In this video tutorial, we will learn how to effectively create a category & sub-category using self-referring foreign keys in the Django model. We can borrow this concept and apply it in an e-commerce project or any project where a hierarchical database is required.
I have used a simple HTML style (or Webdesign) but mainly wanted to demo how we can make sure of the self-referring model to create a hierarchical structure such as Category & Sub-Categories.
FB Page: / bongcodesdjango
Follow me at twitter: @sarbadal
Part 1: • Django Category Sub Category hierarchical ...
Part 2: • Django Category Sub Category hierarchical ...
Part 3: • Django Category Sub Category hierarchical ...