From: zuber Date: Tue, 18 Aug 2009 21:13:33 +0000 (+0200) Subject: Zamiana importowanego modułu z json na dostarczony z Django django.utils.simplejson. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/e7821612b90b7ce9bd39c5c3d404ce9814e33b3c?hp=7513f67e2fbf40299cf37f27cd383b301bd821f4 Zamiana importowanego modułu z json na dostarczony z Django django.utils.simplejson. --- diff --git a/apps/explorer/views.py b/apps/explorer/views.py index acbcd193..ac83c4ef 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -1,5 +1,6 @@ from librarian import html -import hg, urllib2, json +import hg, urllib2 +from django.utils import simplejson as json from django.views.generic.simple import direct_to_template from django.conf import settings