使用 django-jython
我从 django-jython wiki 中了解到,1.1.1 与 django 1.2 不兼容,并且 jython 不适用于默认的 django 后端。
这是否意味着我目前无法将 django 1.2 与 jython 一起使用?
I have read from the django-jython wiki that 1.1.1 is not compatible with django 1.2, and that jython does not works with the default django backend.
Does this means I'm unable to use django 1.2 with jython at the moment?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够让 django 1.2 在 jython 2.5 中正常工作。您必须使用 django-jython 的 SVN 版本。
我建议您使用 Java 6 我能够让它在 Java 5 中运行,但我必须重建 ruby 文件系统 jar 并从打包的 war 中删除 Java 6 数据库驱动程序。因此,除非您使用 Java 6,否则您最终不会得到可以部署在任何环境上的 war 文件。
I was able to get django 1.2 working just fine in jython 2.5. You will have to use the SVN build of django-jython.
I would recommend that you use Java 6 I was able to get it running in Java 5 but I had to rebuild the ruby file system jar and remove the Java 6 database drivers from the packaged war. So you wont end up with war file that can be deployed on any environment unless you are using Java 6.