D
D
Dmitry2019-03-05 13:25:06
Django
Dmitry, 2019-03-05 13:25:06

What is better to use to create categories and subcategories?

Hello!
I want to make the following structure:
Materials:
- Master classes
--Food
---Recipe #1(final page)
---Recipe #2
---etc.

--Language
--- Lesson #1
--- Lesson #2
--- etc.

--Household items
---Item #1
---Item #2
---etc.

- Visual arts
--Artists
---Name of the artist
----year 1
-----photo gallery 1 (final page)
----year 2
-----photo gallery 2
--Photographers (similarly with artists)
- Movies
--name
---movie(end page)
Please tell me the best way to do this. I thought to go the way of ForeignKey, but I'm afraid to get confused in the connections myself.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2019-03-05
@DmitryKyd

django-mptt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question