Use django.utils.simplejson in soc.views.models.base pick method instead of our standalone simplejson module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/base.py Fri Jan 30 22:02:20 2009 +0000
+++ b/app/soc/views/models/base.py Sat Jan 31 11:25:53 2009 +0000
@@ -24,9 +24,8 @@
]
-import simplejson
-
from django import http
+from django.utils import simplejson
from django.utils.translation import ugettext
from soc.logic import dicts
@@ -568,9 +567,6 @@
params: a dict with params for this View
"""
- if not simplejson:
- raise Exception("Simplejson not installed")
-
get_dict = request.GET
# scope_path is not required