1👍
✅
Ok so I found out and solved my problem. Just wanted to post it here so someone can use it.
It was actually a n00b mistake.
So the {{}} weren’t rendering because of the fact that there was nothing in “sl” which I calling upon as argument in the function.
It was empty because I was following a tutorial and the tutorial didn’t explain a very important thing about Django, and that is that the named groups can be added as arguments in functions, and I had no named group called “sl” in my urlconf in the appropriate place. So by adding this:
(r'^([0-9]{4}/\d{1,2})/(?P<sl>.*)/$', detail),
in the urlconf the problem was solved.
Thanks for all the guidance.
Source:stackexchange.com