Hacker News new | past | comments | ask | show | jobs | submit login

Does it mostly focus on Django on Python 2, or is there a good portion that deals with Django on Python 3 as well?



We decided that until there are working implementations of Django running on heavily trafficked Python 3 site, it would be best to focus on Python 2.7. Heck, for that matter, Python 3 is experimental in Django 1.5. We wanted to keep our readers in a safe spot and advocate safety over cutting edge.

That said, we tried to make things as Python 3 friendly as possible. :-)


I'm patiently waiting for book version 2 then.


Django on Python3 is no different from Django on Python2. The underlying language doesn't change the semantics of the framework.


> Does it mostly focus on Django on Python 2, or is there a good portion that deals with Django on Python 3 as well?

Since the book is focused on Django 1.5, which only experimentally supports Python 3, it would be difficult for the authors to focus on Python 3 without a ton of caveats and/or issues for readers.

Django 1.6 will bring "official" support for Python 3.2.3 and 3.3[1]

[1]: https://docs.djangoproject.com/en/dev/faq/install/#can-i-use...


It focuses on 2.7.x primarily, but a lot of the advice is usable regardless.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: