The second method would probably have worked if you had put: {% for photo in emp.photo_set.all %} instead of {% for photo in emp.photo_set %}
I always forget the .all at first ;) and have to go back and add it. On May 23, 3:13 pm, Rogelio <[EMAIL PROTECTED]> wrote: > On May 23, 3:10 pm, Rogelio <[EMAIL PROTECTED]> wrote: > > > Thank you so much! I was able to get your first method to work. The > > second method > > seemed to be complaining that I was using a for-loop on an empty > > "photo_set". > > I'll play around it some more. > > > Rogelio > > Sorry for the multiple "thanks" -- on my end I was getting a message > that there > was an error posting the reply and I should try again later -- which I > did several > times. I guess there was no error after all. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---