Thank you. I took your advice and changed "photoid" to "entry". I'm new
to this, so can you elaborate a bit on why it's better to name that
field 'entry'?

SmileyChris wrote:
> {% for photo in object.photo_set.all %}
> <img src="{{ photo.get_photo_url }}" />
> {% endfor %}
>
> PS: It would be better to call the field 'entry' rather than 'photoid'


--~--~---------~--~----~------------~-------~--~----~
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