Hi,all~How can return a nested object from backstage to my flex project? For example, I have defined an "author" model, and then a "book" model. author is the reference key of book. after query, I want to return the object of "book" to my flex project, but it always wrong... why? Any idea? I can sure that there isn't any wrong with my code, because when return the "author" of the "book", it works. the code is like the flowing: def getBook(b): return book.objects.get(bookname = b)
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---