Ask HN: Advice for someone struggling to learn Django
Hello HackerNews. I've been trying to learn Django for about a half a year now. After completing many tutorials I find myself struggling to build projects that deviate from said tutorials. Any suggestions?
22 comments
[ 3.8 ms ] story [ 58.5 ms ] threadYou'll always find new problems if you try new things. That's learning, not struggling. :-) (worth repeating to get a more positive outlook)
It's written in a way to help you build something unique, which might help your issue, OP. Basically I walk through building a "collection of things," which you can alter to create something like a Twitter clone, a directory, a blog, a store, etc.
Happy to help, send me an email tracy@hellowebbooks.com anytime. :)
(Check my profile)
Once you understand what everything is doing, going back to Django, you should understand what all of the components are doing.
Django & Flask are not exactly one-to-one with the way they handle a lot of things, but I think it would still be a useful exercise.
Django abstracts away the tedious aspects of the use of SQL databases, form validation, HTTP requests and responses, and the like. It does not absolve you from understanding the underlying structures.