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 Customizing Django Templates Template Tags and Filters Lengths and Counts

Why is my flavors query set length not showing up?

<div>We have {{ flavors.all|length }} flavors today.</div>

2 Answers

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,441 Points

That is a good question! Your answer matches mine. And when compared to others with this question, your answer along with all of the others presented in this question or in this question do not seem to work either.

Some times the Django grader gets a gremlin and refuses to pass correct solutions. It usually goes away in a few hours.

Sorry, this seems to be the case here as well.

Good, at least I understand the concept and am on the right track. I will try again later. Thanks.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,441 Points

Kenneth tweaked the grader. Your code now works for me! Good Luck!

Works great thanks.