TypeError at / context must be a dict rather than set, How to fix this error in django? All Questions › Category: Frameworks › TypeError at / context must be a dict rather than set, How to fix this error in django? 0 Vote Up Vote Down Chetan Shidling Staff asked 4 years ago I need short information. 2 Answers 0 Vote Up Vote Down Chetan Shidling Staff answered 4 years ago I think to use jinja format if you are dynamically allocating value. 0 Vote Up Vote Down Chetan Shidling Staff answered 4 years ago Fix this {‘price’,700}) Replace , by : {‘price’ : 700}) This may help you.