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!
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
Idan shami13,251 Points
what can I do to complete my missing information in Flask?
Hi ! (:
Recently I started the Flask track, I followed all the steps: python basics - python collections - introduction to HTML and CSS and HTTP basics. but then..... the time to learn flask basics had come, and I was thrilled, I watched the videos and understood the some of it, now I am in "Character Builder", but unfortunately it was overwhelming and I didn't even finish the first video... Kenneth started to explain things like they were obvious, but not for me... url_for() redirect and PDB, what is that??? so I am hoping for some tips.... as it looks like this course isn't so simple, and Kenneth is explaining anything like it is clear... from anyone who learned already Flask, what can I do? which websites will give me the lacking information that I need right now to understand what is Kenneth talking about? I don't want to leave this course... if I started to learn python why wouldn't I do with it something that is fun and useful.
Thanks ! have a good day! (:
Chris FreemanTreehouse Moderator 68,404 Points
Learning Flask can be overwhelming. There are many pieces that need to fit together to make the whole. The difficulty in teaching Flask is trying to demonstrating functionality of the whole before all of the pieces are understood. Following the Flask lesson may be as complicated as all the previous Python lessons combined due to all the news pieces.
At the beginning, many of these pieces will need to be simply accepted as a "thing that works" with the understanding that theses pieces will make more sense as the course goes on.
So while there are other websites and lessons on learning Flask, it's a bit like asking to learn Flask before you learn Flask.
I suggest continuing on with the Treehouse course, while making a list of the unclear concepts that need more explanation. If the unclear concept doesn't become clear later on or at the end of the course, you'll have a great list of topics to research online or to ask about here in the forum. If you feel a specific concept needs more explaining immediately then a quick web search works well.
The main Flask documentation site is http://flask.pocoo.org/. A quick way to find specific help is to use the Google
site: prefix. For example, to search for
url_for I would use:
Which leads to the link http://flask.pocoo.org/docs/0.12/api/
Where it says:
flask.url_for(endpoint, **values) Generates a URL to the given endpoint with the method provided
Of course, these leads to the question: what's an "endpoint". It's also explained later.
site: can be used to search on Treehouse as well!
If this isn't enough there is also the Flask tutorial by Miguel Grinberg, who has written many excellent books on Flask:
And definitely post back if you need more detailed help on anything. Good luck!!!