Clay McClure 170693cf0b Follow ReferenceFields in EmbeddedDocuments with select_related
For the following structure:

    class Playlist(Document):
        items = ListField(EmbeddedDocumentField("PlaylistItem"))

    class PlaylistItem(EmbeddedDocument):
        song = ReferenceField("Song")

    class Song(Document):
        title = StringField()

this patch prevents the N+1 queries otherwise required to fetch all
the `Song` instances referenced by all the `PlaylistItem`s.
2014-07-03 13:14:45 -04:00
..
2013-04-22 16:19:55 +00:00
2014-07-02 18:56:42 -03:00
2014-01-13 16:57:49 +00:00
2013-12-13 09:46:45 +00:00
2013-11-11 15:13:41 +00:00
2013-05-07 10:57:52 +00:00
2009-12-19 16:04:05 +00:00
2013-05-24 11:24:40 -03:00