{"title":"基于 Jython 的 Django","version":"2.1","locale":"zh-hans","docname":"howto/jython","url":"/zh-hans/2.1/howto/jython/","canonical":"https://djangodocs.dev/zh-hans/2.1/howto/jython/","summary":"Jython is an implementation of Python that runs on the Java platform (JVM). If you want to use Jython (which supports only Python 2.7 at the time of this writing),…","html":"<h1>基于 Jython 的 Django<a class=\"heading-anchor\" href=\"#django-on-jython\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p id=\"index-0\"><a class=\"reference external\" href=\"http://www.jython.org/\">Jython</a> is an implementation of Python that runs on the Java platform (JVM).</p>\n<p>If you want to use Jython (which supports only Python 2.7 at the time of this\nwriting), you must use Django 1.11.x (the last series to support Python 2).\nJython support may be readded to Django if a Python 3 compatible Jython is\nreleased.</p>","rootId":"django-on-jython","toc":[],"breadcrumbs":[{"docname":"howto/index","title":"\"How-to\" guides","url":"/zh-hans/2.1/howto/"}],"prev":{"docname":"howto/initial-data","title":"为模型提供初始化的数据","url":"/zh-hans/2.1/howto/initial-data/"},"next":{"docname":"howto/legacy-databases","title":"Integrating Django with a legacy database","url":"/zh-hans/2.1/howto/legacy-databases/"},"formats":{"html":"/zh-hans/2.1/howto/jython/","markdown":"/zh-hans/2.1/howto/jython.md","json":"/zh-hans/2.1/howto/jython.json"},"source":"https://github.com/django/django/blob/stable/2.1.x/docs/howto/jython.txt","official":"https://docs.djangoproject.com/zh-hans/2.1/howto/jython/","inVersions":["2.2","2.1","2.0"],"inLocales":["en","zh-hans","fr","ja","id","pt-br","ko","es","el","pl"]}