使用 django-jython

发布于 2024-09-28 21:32:01 字数 132 浏览 1 评论 0原文

我从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扮仙女 2024-10-05 21:32:01

我能够让 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文