I have a Page model, with a generic foreign key. I have a Story model, which has a generic relation to Page. If I do:
sp=StaticPage.objects.get(id=1) I have to do this to get the Page object: sp.content.all()[0] However, there will only ever be on Story linked to one Page model. Is there anyway to do: sp=StaticPage.objects.get(id=1) and then this to get the Page object: sp.content Thanks -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.