Live data from Hacker News

Getting Started with Django

gettingstartedwithdjango.com

31–40 of 75 posts

Re: Getting Started with Django

#31
post #15

I'm looking for a good Django tutorial that includes examples of developing with BDD and TDD. The way I learned Rails included RSpec and Cucumber, and that made a huge difference.

Try http://www.tdd-django-tutorial.com/

The TDD Django Tutorial is both a good example of Django TDD and a good introduction to using Selenium for integration/functional tests. It was my first introduction to both.

Re: Getting Started with Django

#33

why is that HN crowd is so much into Django? Every day I see something Django-related on the top page. I feel like I'm left out... is Django like the world's number one web framework (for hackers)?

Django is the leading Python framework (by any usage measure) for web development. Python is a popular language. Ergo . . .

As someone who has been learning Django/Python for 4 months, I very much appreciate both the getting started with Django site and the book 2 Scoops of Django that just came out. Would have saved me weeks of time if I had access to these 4 months ago. It's coincidence that they came out within a few days of each other (and a few days after Django 1.5 release candidate came out).

There's even greater interest in Ruby on Rails, the leading web development framework for Ruby.

Re: Getting Started with Django

#34
post #5

chef, vagrant, ubuntu, apt-get, pip, virtualenv, heroku, ssh.. oh there it is, sth about learning django. I'm saying it not to diss your work, but don't you think setting up a linux env on a vm and signing up to heroku shouldn't be the point of a django tutorial? point explained in another discussion about zed's approach to writing 'learn x the hard way' https://news.ycombinator.com/item?id=4961593

"3. Make it work for Windows, OSX, and Linux if you can." This is the reason the VM was introduced. So that no matter what OS the user is running, they can follow along without having to go search for ways to get all this setup and running. The setup is very minimal thanks to Chef and Vagrant. Kenneth is trying to teach best practices and tools to use. He also explained in the beginning of the video that you should b…

I feel like that reasoning should be outlined in the tutorial. As a newbie, it seems like a pain to get django running if I have to set up a VM just to do it, and the author provides little explanation.

Coming from rails, its weird to me that he seems to emphasize their 'gem install' equivalent over their bundler equivalent.

Otherwise, a great tutorial.

Re: Getting Started with Django

#35

why is that HN crowd is so much into Django? Every day I see something Django-related on the top page. I feel like I'm left out... is Django like the world's number one web framework (for hackers)?

Because of the love for Python in general. I used Django to fairly good success last year and I'm glad to see it's still going strong. It's far from he Drupal where everything is a CMS option. It's more of a developer-centric CMS system with some sugar on top. Check it out if you are interested in learning. It's a fairly simple platform. The headaches, in my experience, comes from the documentation. It lags behind and the community moves quickly.

Re: Getting Started with Django

#36
post #17
post #2

I'm very glad that you created this video series. It's going to be incredibly helpful for many developers. Keep up the good work!

This seems to be the perfect video to get setup before reading your book, which is very light on the "proper setup". I imagine that a book might not be the best format for that, or simply that this is not the content your main audience expect to start with.

Indeed, it's a good corollary. :-)

Re: Getting Started with Django

#37

why is that HN crowd is so much into Django? Every day I see something Django-related on the top page. I feel like I'm left out... is Django like the world's number one web framework (for hackers)?

Django is a pretty decent web framework for Python (Python being a language that's loved very much by a large majority of folks here).

Pinterest, Disqus, Instagram, PBS site, Washington Post site, etc. etc. are all Django projects. It's definitely worth learning -- the community is helpful and in large numbers, the framework is quite 'complete' -- there are lots of plugins available, it's fairly secure... and it's a pleasure to work with. :)

Re: Getting Started with Django

#40

Is there a way to save HN stories, aside from commenting on them? I don't want to leave a pointless comment just so I can find it later (I didn't want to leave this one.).

Upvote it and it will show in your "Saved Stories" page (link on your profile page).
Post reply on HN