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 Build a Social Network with Flask Broadcasting Post Form and View

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Why in this video have a beautiful layout, but mine look very simple?

At the end of this video made me surprise,because last video,it still simple.And also no logout bottom. So I want to know that I need to change or something.Thanks for answer!

10 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Thanitsak Leuangsupornpong If you no longer need that workspace then you can just delete it. Then when you watch the Post Form and View video again, you should see a yellow banner across the top of the video saying that there is a not workspace for this video. When you launch the workspace then you should see the workspace that Kenneth Love is using in his video.

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Thanks you very much! No it work already, and look a lot better,Thanks everyone!

After 1 year and still this problem has not been fixed. Disappointed.

right the only other way to fix it would be to do it manually. so create a static folder then inside the static folder create a css folder and img folder etc.

look at at this previous thread of mine https://teamtreehouse.com/forum/no-css-files-in-the-workspaces. You can copy the css file and images and fix it that way.

In regards to your posts its hard to help without seeing the code.

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Thanks you very much for your help!

KennethLove do you have any Idea how to fix this bug, because I rename the workspace about 10 times already,and lunch it.Thanks!

Khem Myrick
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Khem Myrick
Python Web Development Techdegree Graduate 18,701 Points

Hi Kenneth, and Treehouse Python people. So, in the "Add Some Layout" video where we launch a new workspace for the Flask Social Network, in the video itself, your screen doesn't show the static folder, and you say that "There's going to be some styling added in the next one as well, so you'll wanna grab that one too". As of the "Post Model" video you have a static folder back in your workspace, but we haven't been prompted to load a new workspace.

I will use the files listed in the thread I link to below, but just wanted to confirm that whatever this issue is still seems to exist. https://teamtreehouse.com/community/no-css-files-in-the-workspaces

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Please help! How to fix this problem.The layout does not work!And also I don't know why I don't have the Login, Logout botton in the web.

Christopher Stuart
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Stuart
Full Stack JavaScript Techdegree Graduate 27,771 Points

I think it would be really helpful if somewhere--(Maybe in the teachers notes) it provided the corresponding File Version for the associated download. For example on this project there a LOT of different versions of each project and aside from clicking into each folder its nearly impossible to figure out what goes with what video. Just a thought.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Did you start a new workspace at the beginning of the stage? The workspace attached to the first video in the stage has static/ and templates/ folders that will give you the same layout as I have in the videos.

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Yes, I lunch new workspace already, and no error code,when I lunch it. Now I very confuse!

Please help thanks!

I had a similar problem I fixed it by renaming the workspace name and then launching it from https://teamtreehouse.com/workspaces.

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

"renaming the workspace name"how to do that ,I mean rename the file name or something.But I refresh the workspace already, still not work.Thanks!

I did not get the files, and im getting some jinja error that is absolute no use what so ever "ValueError: View function did not return a response". Useless...

well My issue was when i launched the workspace as adviced by kenneth in the video the workspace did not load the static folder which contains all the css and image files. If you have already launched the workspace it should appear on your list of workspaces which you can get to by clicking on the workspace icon on your left which is below the forum icon. Once you see the workspace in question you can click on the settings or wheel icon on the right where you can edit the title which is where i added like a V2 at the end of the title and then launched it and it loaded the static folder.This approach worked for me.

As far as the login and logout buttons go make sure you have not made any typo's with the class names.

hope this makes sense.

Thanitsak Leuangsupornpong
Thanitsak Leuangsupornpong
7,490 Points

Thanks but I change this title name, but still the static folder doesn't appear,and no beautiful layout like teacher.And I have a few issue, when I look at my main account from test user account, it show that my main account have no post, but I post already about 2 posts.Now I headache already,could you or someone please help or It just a normal problem that everyone have.

I had this issue also. I was not using workspaces. I use pycharm locally. I found the project files in the teacher notes and extracted it locally. I copied the static folder from S3V4 to my local static folder within my project (I had to create the static folder). After doing this, I refreshed and had the nice layout that is displayed in the video.