CS Electrical And Electronics
@cselectricalandelectronics

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?
CS Electrical And Electronics Staff asked 4 years ago

I need short information.

2 Answers
CS Electrical And Electronics Staff answered 4 years ago

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

CS Electrical And Electronics Staff answered 4 years ago

Fix this 

 {‘price’,700})

 
Replace , by :
 

 {‘price’ : 700})

 
This may help you.