In my model I use: choices=CATEGORY_CHOICES property. CATEGORY_CHOICES = ( ('hw', "Hardware"), ('soft', "Software"), ('snd', 'Audio'), ) In templatetags it looks like this: {%for c in category %} {{ c.category|title}} <br> {%endfor%} It always generates ''hw', 'soft' etc instead of Hardware, Software. I have no clue how to access "full-name" for my choices.
2. My second problem is that I dont really understand how I can generate multi-level lists. {{ c.category }} - {{ c.subcategory }} Could someone explain how the loops should look like? /// Petey -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/TP1GIDGFCDcJ. To post to this group, send email to django-users@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.