In Django, how to define a "location path" in order to display it to the users?
- by naw
I want to put a "location path" in my pages showing where the user is.
Supposing that the user is watching one product, it could be Index > Products > ProductName where each word is also a link to other pages.
I was thinking on passing to the template a variable with the path like [(_('Index'), 'index_url_name'), (_('Products'),…