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 CS Electrical And Electronics Staff asked 4 years ago I need short information. 2 Answers 0 Vote Up Vote Down CS Electrical And Electronics Staff answered 4 years ago I think to use jinja format if you are dynamically allocating value. 0 Vote Up Vote Down CS Electrical And Electronics Staff answered 4 years ago Fix this  {‘price’,700})  Replace , by :   {‘price’ : 700})  This may help you.