Answer the question
In order to leave comments, you need to log in
How to make a hierarchical URL in Django?
Good day! By hierarchically constructed URL, I mean this kind:
domain/section/subsection/article
It's impossible to make such inheritance.
I didn't read their Django documentation - it's useless. Examples about simple URLs.
In general, where I don’t see any examples, all the same g **** - blog / article id.
To make the url inherit from the parent and look not like a serial number in the database, but like a transliteration of the title of an article or section?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question