I'm sure this is very common knowledge but for the life of me I can't
find it in the documentation or the djangobook.
I have a ManyToManyField in my model. Categories to Articles.
In my template I try to pull it out like so:
<h2 class="most_recent">{{article.categories }}: {{ article.title }}</
h2>
and my output is:
<django.db.models.fields.related.ManyRelatedManager object at
0x01697030>: Mauris sem. Suspendisse quis massa.
The second part obviously being the title.
Not sure what I'm doing wrong. I tried tacking on .title or any of the
other fields to no avail.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---