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
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
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
3 matches
Mail list logo