From 68b6d8ff10dc8ca7974e4e6f3354690d6fcd5d15 Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Mon, 22 Aug 2011 11:36:10 -0300 Subject: [PATCH] Fixing post --- django_pyvows/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_pyvows/context.py b/django_pyvows/context.py index e7b3536..c0e496d 100644 --- a/django_pyvows/context.py +++ b/django_pyvows/context.py @@ -60,7 +60,7 @@ class DjangoContext(Vows.Context): return urllib2.urlopen(self.get_url(path)) def post(self, path, params): - return urllib2.urlopen(self.get_url(path), data=params) + return urllib2.urlopen(self.get_url(path), data=urllib2.urlencode(params)) def get_url(self, path): ctx = self.parent