Re: 'RelatedManager' object is not iterable

2009-08-04 Thread british.assassin
Yeah, that did it, thanks. I didn't even notice that, lol Thanks again. On Aug 4, 8:56 pm, Daniel Roseman wrote: > On Aug 4, 8:15 pm, "british.assassin" > wrote: > > > > > > > {% extends "base.html" %} > > > {% block title %}EvoWebs{% endblock %} > > > {% block body %} > > {% if categories %}

Re: 'RelatedManager' object is not iterable

2009-08-04 Thread Daniel Roseman
On Aug 4, 8:15 pm, "british.assassin" wrote: > > {% extends "base.html" %} > > {% block title %}EvoWebs{% endblock %} > > {% block body %} > {% if categories %} > {% for category in categories %} > > {{category.name}} > {% for forum in category.forums %} > {{forum.name}} > {% endfor %} > > {% e

Re: 'RelatedManager' object is not iterable

2009-08-04 Thread british.assassin
{'categories':categories}) > > > And in the template file I am trying to iterate through these via > > doing: > > > {% for category in categories %} > > > But every time I try this I get an exception saying: 'RelatedManager' > > object is not

Re: 'RelatedManager' object is not iterable

2009-08-04 Thread Alex Gaynor
#x27;:categories}) > > And in the template file I am trying to iterate through these via > doing: > > {% for category in categories %} > > But every time I try this I get an exception saying: 'RelatedManager' > object is not iterable. > > I was under the i

'RelatedManager' object is not iterable

2009-08-04 Thread british.assassin
{% for category in categories %} But every time I try this I get an exception saying: 'RelatedManager' object is not iterable. I was under the impression that the output from obkects.all() was iterable? I would appreciate any help anyone can give. Thanks --~--~-~--~~---