Fixed #16436 -- ``annotate().select_related().only()`` = ``ValueError: i... #895

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@mrmachine

...nvalid literal for int() with base 10``

Correctly calculate the aggregate_start offset from loaded fields,
if any are deferred, instead of self.query.select which includes all
fields on the model.

Tai Lee
Fixed #16436 -- ``annotate().select_related().only()`` = ``ValueError…
…: invalid literal for int() with base 10``

Correctly calculate the ``aggregate_start`` offset from loaded fields,
if any are deferred, instead of ``self.query.select`` which includes all
fields on the model.
@timgraham

This comment has been minimized.

Show comment
Hide comment
@timgraham

timgraham May 30, 2013

Member

merged in 69f7db1

Member

timgraham commented May 30, 2013

merged in 69f7db1

@timgraham timgraham closed this May 30, 2013

@mrmachine mrmachine deleted the thirstydigital:tickets/16436-annotate-select_related-only branch Feb 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment