News for hackers. Stuff that matters.
Re:The Django Book is getting updated by fallenhitokiri on Saturday October 20, 2012 @05:50AM (#4676731)
It is good to see the book is still alive.

Django is one of the best documented projects I have ever seen. But I know people who have problems with the way the documentation is structured. For some parts you have to understand a completely different part of the framework to follow the documentation. This is to some degree a price you have to pay for a complex framework and is IMHO fine.

But especially for those people is a book, which gives a structured way through the whole framework, a great thing.

Re:The Django Book is getting updated by notaddicted on Saturday October 20, 2012 @02:37PM (#4677826)
I like the django documentation but sometimes I find it hard to figure out how to do exactly what I want to do ... the source code however is pretty readable, effectively it is cross referenced since you can look at the imports, and on github you can find the tag for the version you're using and browse it online.

For example, I recently re-did the login and password management pages for a site and I found it easier to just look at contrib/auth/views.py , especially since all the views are heavily parameterized, and it is only ~250 LOC: https://github.com/django/django/blob/ff6ee5f06c2850f098863d...

Re:The Django Book is getting updated by andybak on Saturday October 20, 2012 @06:10AM (#4676753)
I don't think that's a problem to be solved by the core documentation - rather it's the role that tutorials, howto's etc solve - taking you from 'what' to 'how'.

Maybe the Django docs should guide people to a few more of these before hitting them with the authoritative docs.

Re:The Django Book is getting updated by thaumasiotes on Saturday October 20, 2012 @03:00PM (#4677898)
A tutorial and a book solve completely different problems. A tutorial will only help you if you know what you want to achieve, and can therefore search for the tutorial. You read a book to find out about functionality you didn't know was there, lest you need it in the future.

An organized approach to "here are all the things we do" is definitely appropriate for the core documentation.

Re:The Django Book is getting updated by huxley on Saturday October 20, 2012 @07:23PM (#4678455)
For those looking for recent Django screencasts, Buddy Lindsey did a bunch at this site GoDjango:

http://godjango.com

He covered a lot of stuff including Forms, Formsets, Social Authentication and Generic Class Based Views.

Re:The Django Book is getting updated by adrianmn on Saturday October 20, 2012 @08:38AM (#4676926)
I just started learning Django(going through the tutorial today).

Is the Django Book ready to use as it is to learn Django? The Django docs I think are not enough for someone starting out learning their first web framework(they seem to go deep right away and don't provide a structured way of learning).

Also are the changes done on Github published on the book website or better to grab it directly from Github?

Re:The Django Book is getting updated by elithrar on Saturday October 20, 2012 @09:23AM (#4677007)
> Is the Django Book ready to use as it is to learn Django? The Django docs I think are not enough for someone starting out learning their first web framework(they seem to go deep right away and don't provide a structured way of learning).

It's pretty outdated by now, so you'll likely spend more time checking the differences (i.e. class based views). Same goes for Practical Django Projects[3].

You're best off looking at some online tutorials, another Django Book[1], or thinking of something to build and approaching it from scratch. Django's docs are very good, and there's a lot of open source projects out there that have likely accomplished something similar.

PS: I'm disappointed Reinout van Rees book was canned[2]

[1]: https://github.com/mariuz/django-book [2]: http://reinout.vanrees.org/weblog/2012/05/23/djangobook-schl... [3]: http://www.amazon.com/Practical-Django-Projects-Experts-Deve...

Re:The Django Book is getting updated by adrianmn on Saturday October 20, 2012 @09:34AM (#4677027)
Thanks for the django-book updated link. This seem to be exactly the scope of the linked github in the op.

The amazon book looks outdated and I am a bit surprised by the lack of django 1.4 learning material for newcomers to the framework as this is key for it's popularity.

I hope the linked updated django-book will provide enough teaching to get me up and running and be able to mainly use the django docs after.

Re:The Django Book is getting updated by elithrar on Saturday October 20, 2012 @09:51AM (#4677057)
> The amazon book looks outdated and I am a bit surprised by the lack of django 1.4 learning material for newcomers to the framework as this is key for it's popularity.

The problem with print books is that they fall out of date so quickly. Rails has the same problem--perhaps even more so due to the rapid development pace.

I was really looking forward to the Prag Prog Django book, as they usually release updates and revise the eBook editions, so it's a shame the deal fell apart.

Re:The Django Book is getting updated by adrianmn on Saturday October 20, 2012 @10:04AM (#4677083)
Ebooks are just great when learning especially on dual screen setups. AFAK Rails books get updated really fast - and there are at least a few good introductory courses. There is a Django video series coming but who can wait untill December :)

http://gettingstartedwithdjango.com

Re:The Django Book is getting updated by serkanh on Saturday October 20, 2012 @11:39AM (#4677310)
Even for a beginner Django docs are the best resource you can find for Django. It is one of the best documentation you'll find for an open source project imho.
Re:The Django Book is getting updated by arturhoo on Saturday October 20, 2012 @11:30AM (#4677283)
I wish Django and other Python Web Frameworks had a great (and updated) tutorial as Rails has: http://ruby.railstutorial.org/
Re:The Django Book is getting updated by simonw on Saturday October 20, 2012 @01:08PM (#4677557)
The Django tutorial is part of the official documentation and is kept up to date with the rest of the framework: https://docs.djangoproject.com/en/dev/intro/tutorial01/
Re:The Django Book is getting updated by weaksauce on Saturday October 20, 2012 @01:30PM (#4677624)
The Django tutorial just doesn't have the depth that the rails book does in my opinion. Though, it's well written and awesome in it's own way. There is also a lot of other well written guides on the rails main site[1]

[1] http://rubyonrails.org/documentation

Re:The Django Book is getting updated by adrianmn on Saturday October 20, 2012 @01:32PM (#4677631)
Following another user advice in the thread I started learning using the updated django book and I must say is great so far( I am at chapter 3). I have previosuly looked over the rails book and this is better for a newcomer.

https://github.com/mariuz/django-book

Re:The Django Book is getting updated by tomwalker on Saturday October 20, 2012 @06:17AM (#4676762)
I read this book when it had side comments - they were fantastic help
Re:The Django Book is getting updated by kmfrk on Saturday October 20, 2012 @09:47AM (#4677053)
Let's be plain: it was the only way to get the code examples to work. ;)
Re:The Django Book is getting updated by tomwalker on Saturday October 20, 2012 @02:49PM (#4677861)
well, to put it a different way, it allowed those working through the book to make small updates to compensate for django updates :)
Re:The Django Book is getting updated by kmfrk on Saturday October 20, 2012 @03:03PM (#4677907)
Kenneth Love also has a screencast series coming out soon: https://www.djangoproject.com/weblog/2012/sep/11/dsf-support....
Re:The Django Book is getting updated by alexdzul on Wednesday October 24, 2012 @11:45AM (#4693422)
I'm Alex Dzul, From Mexico.

I'm Django Web Developer. I have a Youtube Channel where I explain this framework in Spanish ( my native language) http://www.youtube.com/user/alexexc2

I would like to participate in this update of the Django Book :)

Re:The Django Book is getting updated by nnq on Saturday October 20, 2012 @07:58AM (#4676873)
I completely dismissed the django book for being outdated when starting to lear Django, despite people recommending it to me ...nice to know others won't have to dismiss it the same way as some chapters seemed really well written
Re:The Django Book is getting updated by elfgoh on Saturday October 20, 2012 @09:19AM (#4677001)
What happened to the commenting system? I found that to be useful for annotations
Re:The Django Book is getting updated by kmfrk on Saturday October 20, 2012 @07:52AM (#4676864)
This is fantastic. It was - and actually still is - the single-best resource for learning Django. Unlike all other guides, it managed to explain why Django was written the way it was.
Re:The Django Book is getting updated by clicks on Saturday October 20, 2012 @07:02AM (#4676814)
Will it be geared towards Django operating on Python 3? Or will that subject be treated lightly?
Re:The Django Book is getting updated by huxley on Saturday October 20, 2012 @07:30AM (#4676833)
Python 3 support was --last I heard-- still considered experimental/alpha by the core team in the upcoming Django 1.5 release, so I would assume if it treats it at all, it will be mostly to encourage forward-compatible programming practices.
Re:The Django Book is getting updated by boscomutunga on Saturday October 20, 2012 @03:33PM (#4678020)
finally, i was getting tired of people recommending this old dinosaur.The django community is active enough to contribute to this wonderful resource.
Re:The Django Book is getting updated by systems on Saturday October 20, 2012 @07:48AM (#4676862)
little hype around django, but still is popular