Live data from Hacker News

Getting Started with Django

gettingstartedwithdjango.com

71–75 of 75 posts

Re: Getting Started with Django

#71
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

it's not really the same thing. the learn the hard way method is fine for learning something like python or ruby (or whatever language), but not extendable for something like django where you have to set up the db and set the method for deployment. All the other stuff is the teachers way of saying here is the best way to get this set up no matter what your os and what state of disrepair it is in because of all the other tutorials you might have done.

On a tangent, it really goes to show how heavy django development really is. Almost frustratingly so. I keep hearing that it's the web framework for developers on a deadline (it being developed by and for journalists from the get-go), but holy smokes does it take a while to get your stack set up. and for me, I've never done it all in one shot. Whenever I decide to sitdown and take a crack at django, I end up debugging the configuration for about a day and a half.

Re: Getting Started with Django

#72
post #64

Earlier quoted context omitted.

That's because there isn't really a good "bundler equivalent" that I know of. That was one of the more frustrating parts of Python work for me. Virtualenv is kind of a hybrid between gem and bundler, and it works, but it's nowhere near as elegant.

The jobs are divided a bit differently but the combo of gem/rvm/bundler is matched quite nicely by pip and virtualenv (with virtualenvwrapper adding some nice conveniences) This article covers some of the equivalent jobs using Ruby and Python: http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-v... The article misses covering the freeze command in pip which is great for generating requirements.txt files: pip…

Requirements.txt is the gemlock equivalent then?

Re: Getting Started with Django

#73
post #64

Earlier quoted context omitted.

The jobs are divided a bit differently but the combo of gem/rvm/bundler is matched quite nicely by pip and virtualenv (with virtualenvwrapper adding some nice conveniences) This article covers some of the equivalent jobs using Ruby and Python: http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-v... The article misses covering the freeze command in pip which is great for generating requirements.txt files: pip…

Requirements.txt is the gemlock equivalent then?

Gemlock sounds more like Yolk:

http://pypi.python.org/pypi/yolk/0.4.3

Re: Getting Started with Django

#74
post #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…

Thanks =) I certainly know what Django is (although have no experience with it whatsoever), but was a little surprised as to why it is so popular here, specifically. However, that list of Django projects is impressive enough, I guess.

Re: Getting Started with Django

#75

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 an…

Thanks; sounds like I really should learn at least some.
Post reply on HN