Re: dev server not loading localhost urls

2009-02-03 Thread adelevie
Thank you for explaining that the ports were the issue. My little workaround is to simply run two dev servers: from command line: python manage.py runserver 8080 then open another command line window: python manage.py runserver 8000 So in my views, the url I access is on port 8080. So when I acce

Re: dev server not loading localhost urls

2009-02-03 Thread Karen Tracey
On Tue, Feb 3, 2009 at 5:54 PM, adelevie wrote: > > I am making an api. Part of the api involved serializing data which > will then be deserialized on another machine. Since I am using the dev > server, I wrote a view that referenced the api, ie: > > def someview(request): > data = urllib2.ur

dev server not loading localhost urls

2009-02-03 Thread adelevie
I am making an api. Part of the api involved serializing data which will then be deserialized on another machine. Since I am using the dev server, I wrote a view that referenced the api, ie: def someview(request): data = urllib2.urlopen("http://localhost:8080/some_method/? param=foo") o