TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Advice for someone struggling to learn Django

20 pointsby megasquidover 7 years ago
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?

8 comments

viraptorover 7 years ago
Deviate, identify what is the problem, solve that problem, repeat. When you can describe a very specific problem, stackoverflow is great. Otherwise, IRC or some django-specific community may be a better place. If you think you&#x27;re struggling, break down the issue into small bits: what are you trying to achieve, what have you tried, what&#x27;s the smallest bit of progress you can make right now &#x2F; what&#x27;s the immediate issue that&#x27;s stopping you.<p>You&#x27;ll always find new problems if you try new things. That&#x27;s learning, not struggling. :-) (worth repeating to get a more positive outlook)
评论 #15525880 未加载
ldonleyover 7 years ago
It might be worthwhile to use a library like Flask which has less batteries included. This will force you to figure out which pieces of the puzzle you are missing and will (hopefully) allow you to learn a lot through exploration.<p>Once you understand what everything is doing, going back to Django, you should understand what all of the components are doing.<p>Django &amp; 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.
评论 #15530459 未加载
评论 #15537739 未加载
twobyfourover 7 years ago
Before learning Django, did you already understand the fundamentals of the web, relational databases, and basic programming?<p>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.
wreathover 7 years ago
Try to understand why things are done the way they are and what is actually happening instead of just following the tutorial systematically. If you have some knowledge gap, say in basic HTTP or data modeling concepts, make sure you read about those as well. This will strengthen your understanding of the framework. Also, if this is your first time with Python, I highly recommend learning Python before learning the framework. This applies to any language out there.
评论 #15530452 未加载
pydoxover 7 years ago
Learn HTML and CSS, Python, and then Django. Think of a new idea. Try build when learning Django.
评论 #15530108 未加载
alphanumeric0over 7 years ago
Hi, I&#x27;d suggest finding a local Python or Django user group and asking for help. Also it&#x27;s worth joining #django on irc to ask questions.
评论 #15525514 未加载
pryelluwover 7 years ago
Email me any questions. Id love to help. If you are on twitter, then Id connect you to some great django people.<p>(Check my profile)
评论 #15530094 未加载
mjhea0over 7 years ago
Which tutorials have you done thus far?
评论 #15530092 未加载