问题
Hp: having the possibility of running an application server with both a Py interpreter with Django and a PHP engine...
It would be possible to run a PHP script into a Django template?
Is it possible to implement such application server through Apache 2.0 mods?
How would the views
and the template file look like?
回答1:
It is awful idea, but you can check this project.
来源:https://stackoverflow.com/questions/9891653/php-script-inside-django-template