Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Replaced simplejson by system json

  • Loading branch information...
commit 48597765a2117b36cae5e7451df1a4c2f03382a3 1 parent 2e8f12a
Claude Paroz authored June 13, 2013

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/views.py
6  docs/views.py
... ...
@@ -1,13 +1,13 @@
1 1
 from __future__ import absolute_import
2 2
 
3 3
 import datetime
  4
+import json
4 5
 
5 6
 import django.views.static
6 7
 from django.core import urlresolvers
7 8
 from django.http import Http404
8 9
 from django.shortcuts import render_to_response, redirect
9 10
 from django.template import RequestContext
10  
-from django.utils import simplejson
11 11
 
12 12
 import haystack.views
13 13
 
@@ -52,8 +52,8 @@ def document(request, lang, version, url):
52 52
         'docs/doc.html',
53 53
     ]
54 54
     return render_to_response(template_names, RequestContext(request, {
55  
-        'doc': simplejson.load(open(doc_path, 'rb')),
56  
-        'env': simplejson.load(open(docroot.child('globalcontext.json'), 'rb')),
  55
+        'doc': json.load(open(doc_path, 'rb')),
  56
+        'env': json.load(open(docroot.child('globalcontext.json'), 'rb')),
57 57
         'lang': lang,
58 58
         'version': version,
59 59
         'rtd_version': rtd_version,

0 notes on commit 4859776

Please sign in to comment.
Something went wrong with that request. Please try again.