[http://pipes.yahoo.com/pipes/pipe.info?_id=jroxOD1f3BGgvtiIqGIyXQ RSS Aggregator for blog posts about Django on Jython]

Summary of Django on Jython: The Gaps

The most important thing to know about Django on Jython is that we are almost there, and with clean code. End-to-end functionality is demonstrated by the admin tool running in full CRUD, along with more than 90% of successful tests.

Moreover, we are part of the goals for the upcoming Django 1.0 release.

Running on Jython

To run Django on Jython, with a PostgreSQL backend, the easiest way to get started is to follow the instructions outlined [http://blog.leosoto.com/2008/07/my-new-djangojython-developer-workflow.html here]. If you prefer you can manually get Jython asm branch and Django trunk to later apply the patches at https://hg.leosoto.com/django.patches/file and https://hg.leosoto.com/jython.patches/file

Additionaly, you will need the [http://code.google.com/p/django-jython django-jython integration code] which contains the JDBC database backends and some management utilities.

Status

This is mostly outdated. We are working on updated status and documentation. Sorry for the inconveniences.

Here's what works:

syncdb and the very cool Django admin run; many unit tests pass. You can run with internationalization enabled. You do need to run the dev server with --noreload for now. We need to document here how to run with [http://www.xhaus.com/modjy/ modjy], which is Alan Kennedy's servlet container for WSGI apps.

In running the model unit tests, here are the things we seem to be missing:

There may be some other rough categories, we need to look at the failures more systematically.

[http://dojstatus.leosoto.com Here are some unofficial test suite results]

Next Steps

On the Django front, get more of the unit tests running!

Modern is now in trunk.


Historical Notes

(Preserved to show how much we had to go through...)

Merging Modern into trunk

With the Modern branch was recently merged in (and deleted), we have consolidated the bugs, workarounds, and patches found below -- plus a bunch more. The most important aspect is that we have tried to make Jython conform more to CPython, using Django as our guide, although there are some gaps - especially if Django already had incorporated fixes. Our driving goal is to converge on these gaps over time. Please note that is intended to be stable, performant code, and so far that looks to be the case!

Here are some of the things we addressed:

Former Major Problems

Former Minor annoyances

Already Fixed

(And many more!)