Question abouit caching QuerySets

2008-04-30 Thread brandonl
Is there a way to disable QuerySet caching? Thanks. -Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fr

Re: Views, Templates, and Dictionaries

2008-01-02 Thread brandonl
Thanks. On Jan 2, 8:47 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: > From the template docs:http://www.djangoproject.com/documentation/templates/ > > {% for key, value in data.items %} > {{ key }}: {{ value }} > {% endfor %} > > Note that this is for the svn vers

Views, Templates, and Dictionaries

2008-01-02 Thread brandonl
I have a simple view: def index(request): this_dict = { 'one':'','two':'', 'three':''} c = Context({"this_dict":this_dict}) return HttpResponse(t.render(c)) my template is like so: {% for i in this_dict %} key: {{i}} value:{{this_dict.i}} {% endfor %}