From 3b235cb9dfe6a197179399cc63d115003ea71f62 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Mon, 29 Jun 2015 16:18:53 +0200 Subject: [PATCH] Harmonized json imports (dropped simplejson) --- django_hstore/dict.py | 5 +---- django_hstore/forms.py | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/django_hstore/dict.py b/django_hstore/dict.py index 7ca2201..2bba763 100644 --- a/django_hstore/dict.py +++ b/django_hstore/dict.py @@ -1,7 +1,4 @@ -try: - import simplejson as json -except ImportError: - import json +import json from decimal import Decimal diff --git a/django_hstore/forms.py b/django_hstore/forms.py index 62b5bac..0127824 100644 --- a/django_hstore/forms.py +++ b/django_hstore/forms.py @@ -1,9 +1,6 @@ from __future__ import unicode_literals, absolute_import -try: - import simplejson as json -except ImportError: - import json +import json from django.forms import Field from django.utils import six