Skip to content
Advertisement

Tag: getparameter

Django How to get GET parameters in template

I’m working on a django project. I’m wondering how to get GET parameters in template so that I can make corresponding tab active. I tried the code below, but it didn’t work. Thank you in advance. Answer Get it in view and send it as parameter in render and use it in template Or get it as and set in

Advertisement