Jython support is not as complete as indicated
|Reported by:||alex@…||Owned by:||EvilDMP|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
While django itself works admirably with Jython, there are a few issues not mentioned here which are likely to cause significant problems for people intending to rely on Jython to deploy Django.
For example, the django-jython database support packages don't work with versions above 1.3 without monkey patching, I believe.
Furthermore, due to some bugs or 'features' in Jython, many Django apps (including the Django Rest API) do NOT work with Jython at the moment. I wasted a couple of days figuring this out :( though to be fair, Django has saved me many more hours than that in my life :)
I believe the docs could be more informative here by providing a list of supported configurations and third-party apps.
Django does support Jython, but it can be a little finicky depending on what apps/versions you want to use.
Known good configurations:
- Django 1.3.1 with Jython2.7b1 with django-jython1.3
Known to be incompatible:
- Django 1.4+ with any version of django-jython (fixable with tiny patch - link).
Plug-ins known NOT to work:
- Django REST framework
Installation instructions continue largely as before....
I know it may be difficult to generate such a list, but even an incomplete version listing a few major apps / working combinations would be very helpful in assessing whether or not this option is likely to work, potentially saving developers a lot of time and wasted effort!
Possibly it could even be done as a forum thread and linked to from the docs.
Change History (5)
comment:1 Changed 3 years ago by lukeplant
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 3 years ago by EvilDMP
- Owner changed from nobody to EvilDMP
- Status changed from new to assigned