I've been looking through the archives here and goggeling around trying
to resolve what I am sure is a simple problem.

I am trying to do the following:

1) Display an article
2) Display the reporter (many to many field)
3) Display related images (many to many field)

The model for the complete app is here: http://paste.e-scribe.com/2407/

I am trying to do in the template is this:

{% for reporter in object.reporter_byline.all %}
   {{ reporter.user.first_name }}
{% endfor %}

This randomly breaks.  Sometimes it does work and the username is
displayed and other times it'll break with
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/query.py
in lookup_inner, line 836

Running on MAC OS X Tiger, python 2.4, django latest svn version, mysql
5, modpython, apache 2.2

My question may be juvenile, or it may have been answered elsewhere.
Any direction or pointing in the right direction is appreciated.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to