Re: Open URL from Django

2008-09-07 Thread Bojan Mihelac
Eric, thanks for answer, this make sense and I am aware of TestClient. Was not sure if this is an error... Bojan On Sep 7, 2:02 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > On Sep 7, 2008, at 6:40 PM, Bojan Mihelac wrote: > > > > > I have try similiar code under both Django dev server and A

Re: Open URL from Django

2008-09-07 Thread Eric Abrahamsen
On Sep 7, 2008, at 6:40 PM, Bojan Mihelac wrote: > > I have try similiar code under both Django dev server and Apache/ > mod_python. Apache did load the result, while Django server did not. > > Is this maybe threading issue? Nope, that's the way the Django development server works – it's single

Re: Open URL from Django

2008-09-07 Thread Bojan Mihelac
I have try similiar code under both Django dev server and Apache/ mod_python. Apache did load the result, while Django server did not. Is this maybe threading issue? here is samplecode: #views.py from django.http import HttpResponse from django.core import urlresolvers import urllib2 def test_

Open URL from Django

2008-09-07 Thread Bojan Mihelac
Hi all, I am trying to load page that is on the same server but Django just hangs. If connection on another sever is opened it works as expected. Is this because the local server does not support more then 1 request at a time, or some other thing? This is minimized code: #views.py from django.