Wednesday, August 14, 2019

Re: Regarding to Correction my error

1. you are naming the dictionary ***context2 then you are also assigning a key named ***context2 that is probably creating a confusion maybe you should try changing the name of the dictionary
   2. unless you require exact key-values in your view i suggest you consider passing a list instead of a dictionary as dictionaries are not realy meant for iteration. i attached a example in case you need one.

Screenshot from 2019-08-14 17-40-20.png

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3ae31efb-6145-4576-a509-e9dad03aa5f1%40googlegroups.com.

No comments:

Post a Comment