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 %}
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
{'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
#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
{% 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
--~--~-~--~~---
5 matches
Mail list logo