Good morning, I have this situation: I have 3 classes, Document, Layout and Company
1 Document has 1 Layout 1 and Company .. Document class: layout = models.ForeignKey (Layout) company = models.ForeignKey (Company) I have a search page that is being filled by JSON, then the data layout and the company is returning the ID of them respectively, and the ideal would be to show the names of each data (Name and Company Name Layout) .. How can I accomplish this query so that I quoted above? Sincerely, o / Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* *Blog: *https://conconcus.wordpress.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.