Re: How can I to show a 2D dictionary in template ?

2008-11-30 Thread K*K
Oh, I got it! {% for content_id, content in contents.items %} {{ content.title }} {{ content.type }} {{ content.relative }}

How can I to show a 2D dictionary in template ?

2008-11-30 Thread K*K
Hi, I'm a newbie in Django. I got I problem looks like below: == contents.py == from testcms.contents.models import * class Contents(UserDict): def get_contents_list(self): contents = Contents.objects.all() for content in contents: author = U