DjangoCon 2009: Django On Jython
-
Upload
cmcavoy -
Category
Technology
-
view
1.321 -
download
2
description
Transcript of DjangoCon 2009: Django On Jython
© 2009 PSC Group, LLC
Django on JythonChris McAvoy & Matt Dorn
DjangoConSeptember 10th, 2009
© 2009 PSC Group, LLC
Who are we?
© 2009 PSC Group, LLC
The Goal
© 2009 PSC Group, LLC
Some History
© 2009 PSC Group, LLC
Why?
© 2009 PSC Group, LLC
Maturity
© 2009 PSC Group, LLC
“Rails Needs to Mature” From my notes Dave Thomas’ Keynote at
Railsconf 2006
© 2009 PSC Group, LLC
“It turns out that writing the app is now the easy part; managing the rest of the stack you need for successful deployment can be nearly
impossible. In other words, we’re all ops people now.” Jacob Kaplan Moss - Sept 4th 2009
© 2009 PSC Group, LLC
“We’re growing, but we’re not mainstream” Ted, 15
minutes ago
© 2009 PSC Group, LLC
“Reign in the Cowboy” Simon Willison - Tuesday
© 2009 PSC Group, LLC
The Market
© 2009 PSC Group, LLC
© 2009 PSC Group, LLC
root
© 2009 PSC Group, LLC
Our Project
© 2009 PSC Group, LLC
How?
© 2009 PSC Group, LLC
Pieces✴ Jython 2.5.0
✴ django-jython
‣ Provides support for Postgres & Sqlite3
‣ Build WAR files
‣ pip install django-jython
✴ zxJDBC
✴ Modjy
‣ Implements WSGI
© 2009 PSC Group, LLC
Dev Environment
✴ Install Jython
✴ Install setuptools & virtualenv
✴ Create virtualenv
✴ Install pip
✴ Install Django 1.1
✴ Install and patch django-jython
© 2009 PSC Group, LLC
Quirk Matrix
Django 1.0.x Django 1.1
Jython 2.5 Delete settings$py.class
Patch django-jython Postgres backend
✴ http://bit.ly/django-jython-fix
Jython 2.5rc1 Delete settings$py.class
Patch django-jython Postgres backend
✴ http://bit.ly/django-jython-fix
© 2009 PSC Group, LLC
✴ http://bit.ly/django-jython-fix
© 2009 PSC Group, LLC
No CWhich means, no PIL, which means no models.ImageField
© 2009 PSC Group, LLC
Questions?✴ http://www.psclistens.com
✴ Chris McAvoy
‣ http://lonelylion.com
‣ @cmcavoy (mostly about kites and toddlers)
✴ Matt Dorn
‣ http://mattdorn.com
‣ @mattdorn (but really, he’s a twitter-hater)