Viewing posts from April,
2011
Differentiating how to display or access variables/structures/dictionaries in Django templates (as opposed to views) can get frustrating. All I was trying to do was print the query string in a template. That's. It. Why couldn't I just do:
read more
/
0 comments
You've passed in a tuple to your template and now you're trying to access the separate indexes/items in a loop. Here's the tuple:
read more
/
0 comments