~/talk

Porting Django apps to Python 3

Talkat DjangoCon AU 2013 · on Friday, 2013-07-05· [python]
slides:none on file

Django 1.5 adds Python 3 support and Django 1.6 declares it stable; migration strategy uses single-source Python‑3-first code with shims (six, django.utils.encoding) rather than two separate codebases and 2to3. Case studies: a Python‑3-only site (python.org preview) costs about 20% extra time but ships; a reusable app (django-sitetree) ports with a single commit. Use tox for test matrix, prefer Postgres, deploy with mod_wsgi/uwsgi or Gunicorn; many popular packages already port or have alternatives.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Python 3 Support
  3. 7:05Databases
  4. 9:00Deployment
  5. 10:27Django 3rd party dependencies
  6. 17:45Python 3 only
  7. 27:03Django dependencies
  8. 31:07Writing tests
  9. 34:07Cost
  10. 36:22Single app
  11. 39:52Running tests
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.