TypeError at / context must be a dict rather than set, How to fix this error in django?

All QuestionsCategory: FrameworksTypeError at / context must be a dict rather than set, How to fix this error in django?
Chetan Shidling Staff asked 4 years ago

I need short information.

2 Answers
Chetan Shidling Staff answered 4 years ago

I think to use jinja format if you are dynamically allocating value.

Chetan Shidling Staff answered 4 years ago

Fix this 

 {‘price’,700})

 
Replace , by :
 

 {‘price’ : 700})

 
This may help you.