Re: No module named site - error deploying a django-jython war in tomcat

2010-07-08 Thread Rafael Nunes
Same problem here. Any thoughts? On Jun 29, 10:50 am, tobycatlin wrote: > Hello everybody, > > I have followed the install instructions for the latest versions of > the following: jython (version: jython-2.5.2b1), django (1.2.1) and > jython-django (version 1.1.1) and have built a war of my very

Re: Multiple AJAX sends within a views.py-function

2010-06-11 Thread Rafael Nunes
Can't you use XMPP? On Fri, Jun 11, 2010 at 12:36 PM, Euan Goddard wrote: > If you're worried about the data getting out of order use a counter in > JS and always ensure that you only update the page when you get the > correct (i.e. current) counter back. > > I think what you're talking about isn

Send file over HTTP

2010-04-13 Thread Rafael Nunes
How can I send a file over HTTP? I tried with request parameter and it works fine. [code1] def handle_upload(files, id_user): url = URL_IMG_HANDLER_APP values = {''param1', 'value1'} req = urllib2.Request(url, data) urllib2.urlopen(req) But if I try with binary files, the file si