Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
Chris Freeman
Treehouse Moderator 68,239 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,239 Points

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

Works great thanks.