On 15-Jan-09, at 10:09 AM, JonUK wrote: > Thanks, but that gives me: > > AttributeError: "'Lightbox' object has no attribute 'lightboxes'"
Doh' sorry, reading it again, you've already got the relationship from LightboxPhotograph to Lightbox, so thats lightbox.lightboxphotograph_set http://docs.djangoproject.com/en/dev/topics/db/queries/#following-relationships-backward Discusses going following relationships backwards -- Andy McKay ClearWind Consulting: www.clearwind.ca Blog: www.agmweb.ca/blog/andy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

