Welcome to the Treehouse Community
Looking to learn something new?
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 67,986 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!!!