Re: django- accessing items in a python dictionary

2012-04-29 Thread creecode
On Sunday, April 29, 2012 7:36:17 AM UTC-7, hius...@qq.com wrote: what is value of the etc? > I believe that etc. in this case is an abbreviation for etcetera. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: django- accessing items in a python dictionary

2012-04-29 Thread Karen Tracey
On Sun, Apr 29, 2012 at 6:01 AM, Alan Mo wrote: > My dictionary is as follows: > > data={"BE1234":"abc", "BA3212":"efg", etc} > > I call it through django templates. According to the online manual, they say > "if your context contained a dictionary data, the following would display > the keys and

Re: django- accessing items in a python dictionary

2012-04-29 Thread Hiuser Su
uld end in 'reversed': for key, value in data.items > > Can anyone help me fix this error? It's really frustrating. Just wondering > if I'm doing something stupid. Thanks in advance. > > > posted on > stackoverflow: http://stackoverflow.com/questions/10371168/django-a

django- accessing items in a python dictionary

2012-04-29 Thread Alan Mo
ustrating. Just wondering if I'm doing something stupid. Thanks in advance. posted on stackoverflow: http://stackoverflow.com/questions/10371168/django-accessing-items-in-a-python-dictionary -- You received this message because you are subscribed to the Google Groups "Django users&quo