[Answer]-Django-sitetree (0.9.4) won't render some menu and breadcrumbs elements

1👍

render(request, 'app/persDetail.html', {'pers': pers})

You’re passing pers variable into your template, so you should tell exactly that to sitetree. Instead of app:persondetail person.id type — app:persondetail pers.id

The string put into sitetree URL field is essentially the same you’d use with url template tag, e.g.: {% url 'app:persondetail' pers.id %}.

Leave a comment