chop-dbhi / avocado

Metadata APIs for Django
http://avocado.harvest.io
Other
41 stars 10 forks source link

Calculate dist relative to the queryset model #333

Open bruth opened 7 years ago

bruth commented 7 years ago

Previously the distribution was calculated with respect to itself and did not take handle the case when the queryset was based on a different model.

Signed-off-by: Byron Ruth b@devel.io

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 80.22% when pulling 05cdf7c3569ad9580e7704962926a7aa07c6ca01 on fix-dist into c081e31e494093cb8608fb771166082bb3638fa2 on master.

gracebrownecodes commented 7 years ago

Looks good to me, but I don't have a handy use case to test this on.