# HG changeset patch # User Pawel Solyga # Date 1233401153 0 # Node ID e5c06755ecd83b0cc60b18a57a35805521fed861 # Parent 1f7015b33a0cb5eeba847551815150b783cc5c35 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 diff -r 1f7015b33a0c -r e5c06755ecd8 app/soc/views/models/base.py --- 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