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 Basics Final Details url Tag

David Axelrod
David Axelrod
36,073 Points

Why is {%url %} so picky with the whitespace around my equal signs?

^_^

2 Answers

Anthony Attard
Anthony Attard
43,915 Points

That's the rules set by the django & python developers. Sometimes these rules can seem very strict but are the only way to have a stable & dynamic language.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

I'm not sure exactly what you're asking about. Can you show an example?

David Axelrod
David Axelrod
36,073 Points

doesnt work for me {% url 'example' thingy_1 = something.something %}

works {% url 'example' thingy_1=something.something %}

Thanks KENNETH!! got it now haha