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

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.