Skip to content

Commit 07be037

Browse files
author
Bill Collins
committed
Django 1.5.x rough patch
1 parent f7a0cb4 commit 07be037

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dajaxice/views.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
from django.views.generic.base import View
66
from django.http import HttpResponse, Http404
77

8+
from urllib import unquote
9+
810
from dajaxice.exceptions import FunctionNotCallableError
911
from dajaxice.core import dajaxice_functions, dajaxice_config
1012

@@ -36,7 +38,8 @@ def dispatch(self, request, name=None):
3638
if dajaxice_functions.is_callable(name, request.method):
3739

3840
function = dajaxice_functions.get(name)
39-
data = getattr(request, function.method).get('argv', '')
41+
#data = getattr(request, function.method).get('argv', '')
42+
data = unquote(request.body.split('=')[1])
4043

4144
# Clean the argv
4245
if data != 'undefined':

0 commit comments

Comments
 (0)