Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django ORM Total Control Aggregate and Annotate

Simon Amz
Simon Amz
4,606 Points

Issue on SQL tab in debug toolbar.

When I launched my program, everything runs correctly, however, in the SQL tab in the debug toolbar, for each query, I got a 'connection default' with a red tab, and query run in 0.2 ms at most instead of 8 ms in the video.

I think there is an error with the queryset but I don't know where.

Thanks for your help

![]/simonamzalag/screenshot.jpg And if someone know how to upload pictures in a question, thanks