To find whether a list/dict, say dd, is empty or not {% if dd %} is enough. It'll return False when there is no dd defined or if it's value can be False. Empty lists/dicts are evaluated to be False.
Check built-in filters like length, length_is etc also. Rajeesh. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.