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: Learning Django post-"Learn Python the Hard Way by Zed Shaw"

4 pointsby njstartupsover 13 years ago
I've pretty much completed Zed Shaw's course, "Learning Python the Hard Way." Although at the beginning I was skeptical, I've really begun to grasp the semantics of the language and I feel his way to teaching really works for me.<p>Now that I have the basics down, I would like to really learn Django. Are there any Django apps with source code available that I can learn from by replicating the code?<p>I know I can stroll over to GitHub but as a novice, I'm concerned about the code being clean and I'm pretty sure I haven't developed an eye yet for what's clean and what's not.<p>Any recommendations?

5 comments

marteyover 13 years ago
When I started learning Django, the first thing I did was work through the tutorial in the official documentation.<p>I cannot stress enough how useful the official documentation is. Not only is it chock full of useful code examples, but the fact that it is a living document means that it is always up-to-date (unlike Django books or blog posts).<p>I can not really think of any useful Django applications on Github or Bitbucket that are simple enough for someone who is learning the framework to replicate, but if pushed I would suggest:<p>- the source code for the framework itself<p>- applications made by core developers (like django-registration or django-taggit)<p>- applications with a significant following in the community (like south or django-sentry)
评论 #3136294 未加载
jwong42over 13 years ago
I was a novice in programming and wanted to try web development so I chose python and Django as my starting point. I started learning Django by first doing the poll app tutorial found on the official Django documentation page. <a href="https://docs.djangoproject.com/en/1.3/intro/tutorial01/" rel="nofollow">https://docs.djangoproject.com/en/1.3/intro/tutorial01/</a><p>Then I read the online Django Book and followed along the examples found in those chapters. <a href="http://www.djangobook.com/en/2.0/" rel="nofollow">http://www.djangobook.com/en/2.0/</a><p>After that, I felt I had a good grasp of Django but wanted to get a more complete experience of building a simple but powerful web app so I purchased this book - <a href="http://www.amazon.com/Django-Website-Development-Ayman-Hourieh/dp/1847196780" rel="nofollow">http://www.amazon.com/Django-Website-Development-Ayman-Houri...</a>. I really learned a lot from this book since not only did it provide me with a better understanding of the Django framework, it also helped me learn how to build all the nice features like tagging, search and integrate other technologies such as JQuery.<p>Now, I am trying to develop my own app using the book as a guide and I am having a lot of fun with it!
sixtofourover 13 years ago
The Django tutorial is pretty good. You build up a very basic polling application as you follow the tutorial and learn the basic chunks of Django.<p><a href="https://docs.djangoproject.com/en/1.3/intro/tutorial01/" rel="nofollow">https://docs.djangoproject.com/en/1.3/intro/tutorial01/</a><p>Any good intro book is going to have something similar. "Python Web Development with Django" includes a number of example projects. You can either follow along in the book and type in the examples (the "Hard" way) or download the projects and see/run them at once in their finished form (the "Common" way).<p><a href="http://withdjango.com/" rel="nofollow">http://withdjango.com/</a><p><a href="http://withdjango.com/readers/source/" rel="nofollow">http://withdjango.com/readers/source/</a>
samratover 13 years ago
Go through the Django tutorial which you'll find in the django website, they're really helpful. Then go to showmedo.com's tutorials(they're a bit outdated but I think they really nail the concepts).<p>If you're not in a hurry though, and are new to web development, I'd really suggest learning Flask. It's a great introduction to web development in Python.
adrianscottover 13 years ago
There's a few starter apps w/ source code at <a href="http://www.coderbuddy.com/" rel="nofollow">http://www.coderbuddy.com/</a> and you can start editing and testing them using the site.<p>(You can also upload and expand zip files of other projs/code you may find, as well as copy public projects into new projects of your own.)<p>Hope this helps...
评论 #3138000 未加载