Django模板中的PHP脚本 [英] PHP script inside Django template

查看:68
本文介绍了Django模板中的PHP脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hp:可以同时运行带有Django的Py解释器和PHP引擎的应用服务器...

Hp: having the possibility of running an application server with both a Py interpreter with Django and a PHP engine...

是否可以将PHP脚本运行到Django模板中?

It would be possible to run a PHP script into a Django template?

是否可以通过Apache 2.0 mods来实现这样的应用服务器?

Is it possible to implement such application server through Apache 2.0 mods?

视图和模板文件的外观如何?

How would the views and the template file look like?

推荐答案

好主意,但是您可以检查此项目.

It is awful idea, but you can check this project.

这篇关于Django模板中的PHP脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆