Mercurial > public > sg101
diff membermap/views.py @ 679:89b240fe9297
For Django 1.5.2: import json; django.utils.simplejson is deprecated.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 20:14:33 -0500 |
parents | ee87ea74d46b |
children | 9e803323a0d0 |
line wrap: on
line diff
--- a/membermap/views.py Wed Aug 14 14:53:21 2013 -0500 +++ b/membermap/views.py Thu Aug 15 20:14:33 2013 -0500 @@ -1,6 +1,9 @@ """ Views for the membermap application. + """ +import json + from django.shortcuts import render_to_response from django.template.loader import render_to_string from django.template import RequestContext @@ -8,7 +11,6 @@ from django.http import HttpResponseBadRequest from django.http import HttpResponseForbidden from django.views.decorators.http import require_POST -import django.utils.simplejson as json from django.core.cache import cache from membermap.models import MapEntry