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

Vic A
Vic A
5,452 Points

Issues with flask social media app...

Hey there, I'm having issues with my Flask social media app. It's not an exercise but a content error I keep getting when I try to post.

jinja2.exceptions.TemplateSyntaxError jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'extend'.

^^^^ looks like that.

Help from someone on this would be much appreciated :) Thanks

1 Answer

Hi Vic

I cant see your code, so i am just going to try and guess. I think you might have a typo somewhere.

{% extend 'layout.html' %}

should be 

{% extends 'layout.html' %}

does this help?

Vic A
Vic A
5,452 Points

yep that solves it. Thanks man.

Also, are you able to see the CSS design stuff that's in the video? All I get is bland text web app.