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 A Social Network with Flask Takin' Names Macros

Callum Anderson
seal-mask
.a{fill-rule:evenodd;}techdegree
Callum Anderson
Data Analysis Techdegree Student 10,187 Points

Register template not working?

In this video about macros we are trying to preview some code in the preview port and when I try to view my register.html template I'm left with a jinga error that couldn't find my template, I was able to run the app.py to preview the home page so I'm unsure of any syntax that is missing or incorrect as I do in fact have my render template imported and the block code acknowledging the templates existence. I have left my workspace along with a screenshot of the what I see when attempting to preview the error. Any help is appreciated, I've been working hard at python and flask and would love to keep going. Thank you

Workspace Snap: https://w.trhou.se/1clxhc8z49

Jinga error: https://imgur.com/a/Smushej

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Callum Anderson! As you're well aware, much of programming is case-sensitive. This includes file and folder names :smiley: You have a folder named "Templates", but it should be named "templates". Correcting the capitalization, stopping the server, and restarting it results in it being able to load the correct template. You can correct the capitalization by right-clicking the folder and choosing "Rename".

Hope this helps! :sparkles: