'Return the database that will be used if this query is executed now'

@property
def db(self):

    if self._for_write:
        return (self._db or router.db_for_write(self.model))
    return (self._db or router.db_for_read(self.model))
