Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for relational lookups on ObjectsByDateTracker #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pedrospdc
Copy link

@pedrospdc pedrospdc commented Feb 3, 2017

This enables trackstats to support relational lookups on an object when looking for the date field:

CountObjectsByDateAndObjectTracker(
        period=PERIOD,
        metric=METRIC,
        object_model=MANY_TO_MANY_MODEL,
        object_field='object_field',
        date_field='related_object__date').track(query)

@coveralls
Copy link

coveralls commented Feb 3, 2017

Coverage Status

Coverage increased (+1.2%) to 88.192% when pulling c647bd4 on pedrospdc:master into 1b528b1 on pennersr:master.

@coveralls
Copy link

coveralls commented Feb 3, 2017

Coverage Status

Coverage increased (+0.03%) to 87.037% when pulling b96f3cd on pedrospdc:master into 1b528b1 on pennersr:master.

@coveralls
Copy link

coveralls commented Feb 3, 2017

Coverage Status

Coverage increased (+0.03%) to 87.037% when pulling b96f3cd on pedrospdc:master into 1b528b1 on pennersr:master.

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.

3 participants