Mercurial > public > sg101
diff forums/views/attachments.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 | 7e0c3cbd3cda |
line wrap: on
line diff
--- a/forums/views/attachments.py Wed Aug 14 14:53:21 2013 -0500 +++ b/forums/views/attachments.py Thu Aug 15 20:14:33 2013 -0500 @@ -1,11 +1,13 @@ """ This module contains views for working with post attachments. + """ +import json + from django.http import HttpResponse from django.http import HttpResponseForbidden from django.http import HttpResponseBadRequest from django.http import HttpResponseNotFound -import django.utils.simplejson as json from forums.models import Post