Tuesday, November 30, 2010

Re: php script in django app

Oh ok. Thanks for the quick response. I guess I'll have to rewrite the
script in Python.

On Dec 1, 9:04 am, Javier Guerra Giraldez <jav...@guerrag.com> wrote:
> On Tue, Nov 30, 2010 at 10:51 PM, vamsy krishna <badguitar...@gmail.com> wrote:
> > I am trying to embed an Ajax call to load some RSS feeds using a PHP
> > script in my Django app. This does not work and it returns my actual
> > PHP code which is not getting executed. This works when I try the same
> > outside of Django in Apache.
>
> i guess that it doesn't work when using Django's dev server.
>
> - to execute PHP, you need a PHP interpreter
>
> - Django's devserver is a simple Python HTTP server that translates
> every request into WSGI calls to Django.
>
> so.... should it work?  no way
>
> --
> Javier

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment