Hi I just want to launch a python script from my web page done with django. 2 ways to do this-> by a form included in "mytemplate.html" for example, like this:
<form name="ingestionForm" action="/spica/cgi-bin/ingestion.py" method="post"> <input type="text" name="target" value="" size="50" maxlength="50"> <input type="submit" value="Ingestion" /> </form> With this solution a press button is created and the browser wants to open the url: ".../spica/cgi-bin/ingestion.py" by pressing it. Can this url be matched in the urls.py? (because urls.py is the only way to navigate through django site) if this is the case, how? perhaps like this: (r'^spica/cgi-bin/$','??????'), OR (r'^spica/cgi- bin/ingestion.py$','??????') and how can i fill the second field with "??????" I've tried this solution but it doesn't work, so may be it can't be done with the url formalism of django. howhever i don't know how to do this.... the second way is to include some stuff in the httpd.conf of apache to permit python script to be executed by the server through modpython but i don't know how to do this hope you understand now Greg --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---