3 ms·
Sponge learning is awesome, but you must always remember to act upon it. Knowing that CoffeeScript is hot in the web dev scene is great, but in the end it amoun
by duopixel 15y ago
Sponge learning is awesome, but you must always remember to act upon it. Knowing that CoffeeScript is hot in the web dev scene is great, but in the end it amounts to little more than industry gossip.
True understanding comes from actually trying to do it yourself, technologies stop being buzzwords and they become tools.
That said, kudos to the OP for trying to Learn Python the Hard Way!
- alexmr 15y agoTotally. Figuring out what to spend time on is definitely one of the hardest parts since there's so much out there. But reading and hacking on 4 chapters of the django book in a day taught me more than reading for a year.
- khwang 15y agoIsn't that always the funny part of life? Whenever I have hack parties with my friends, I always end up learning everything at like 2:00 AM when we finally start in earnest. ;)
- ineedtosleep 15y agoLooking into diving into Django as well -- what Django book are you referring to, if I may ask?
- alexmr 15y agoreading this one and I think it's super clear: http://www.djangobook.com/en/2.0/ http://www.djangobook.com/en/2.0/
- irahul 15y agoYour app mentioned in the blog post is throwing me an error. Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 700, in __call__ handler.get(*groups) File "/base/data/home/apps/twordsie/1.347280040146141318/main.py", line 55, in get 'rows': [{'c': [{'v': tweet["text"]}]} for tweet in tweets]} TypeError: string indices must be integers You should install error handlers for server error(500), page not found(404), forbidden(403), and any others relevant for your app. Regardless, 500 is the one you should generally install a handler for. It exposes details and flaws in your application which can be used in attacks. Here is how you do that in django: https://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view https://docs.djangoproject.com/en/dev/topics/http/views/#the...