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 %}
.
Source:stackexchange.com