Yeah, that did it, thanks. I didn't even notice that, lol Thanks again.
On Aug 4, 8:56 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Aug 4, 8:15 pm, "british.assassin" <british.assas...@gmail.com> > wrote: > > > > > > > {% extends "base.html" %} > > > {% block title %}EvoWebs{% endblock %} > > > {% block body %} > > {% if categories %} > > {% for category in categories %} > > <table border="1"> > > <tr><td>{{category.name}}</td></tr> > > {% for forum in category.forums %} > > <tr><td>{{forum.name}}</td></tr> > > {% endfor %} > > </table> > > {% endfor %} > > {% else %} > > <p>This forum has no categories</p> > > {% endif %} > > {% endblock %} > > It seems more likely that the error is coming from this line: > {% for forum in category.forums %} > > It should be > {% for forum in category.forums.all %} > -- > DR. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---