5 ms·
Does it mostly focus on Django on Python 2, or is there a good portion that deals with Django on Python 3 as well?
by clicks 14y ago
Does it mostly focus on Django on Python 2, or is there a good portion that deals with Django on Python 3 as well?
- rdegges 14y agoIt focuses on 2.7.x primarily, but a lot of the advice is usable regardless.
- pydanny 14y agoWe 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. :-)
- hayksaakian 14y agoI'm patiently waiting for book version 2 then.
- freework 14y agoDjango on Python3 is no different from Django on Python2. The underlying language doesn't change the semantics of the framework.
- elithrar 14y ago> 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-django-with-python-3 https://docs.djangoproject.com/en/dev/faq/install/#can-i-use...