Skip to content

Allow tagman to return model querysets unevaluated#15

Open
jamescw wants to merge 1 commit intodevelopfrom
move_to_querysets
Open

Allow tagman to return model querysets unevaluated#15
jamescw wants to merge 1 commit intodevelopfrom
move_to_querysets

Conversation

@jamescw
Copy link

@jamescw jamescw commented Dec 8, 2012

Allows tagman to return unevaluated querysets so that we can take advantage of django's lazy evaluation mechanism.
This should improve performance and allow better widget mixins, although performance is yet to be tested.
Function unique_item_set has been left in for compatibility and convenience and will still perform the evaluation returning an item set as expected.

Contains code from this PR: UKTV#7

This PR really belongs in the UKTV fork of tagman, but currently I do not have access.

Jenkins is green:

RTL: http://jenkins.rethought-solutions.com/job/tagman-querysets/
UKTV: http://jenkins.uktv.rethought-solutions.com/job/tagman-querysets/

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant