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


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: FrameworksTypeError at / context must be a dict rather than set, How to fix this error in django?
Chetan Shidling Staff asked 6 years ago

I need short information.

2 Answers
Chetan Shidling Staff answered 6 years ago

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

Chetan Shidling Staff answered 6 years ago

Fix this 

 {‘price’,700})

 
Replace , by :
 

 {‘price’ : 700})

 
This may help you.