Mercurial > public > sg101
diff podcast/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 | e932f2ecd4a7 |
line wrap: on
line diff
--- a/podcast/views.py Wed Aug 14 14:53:21 2013 -0500 +++ b/podcast/views.py Thu Aug 15 20:14:33 2013 -0500 @@ -2,13 +2,13 @@ Views for the podcast application. """ +import json import os.path from urlparse import urlparse from django.shortcuts import render_to_response from django.template import RequestContext from django.shortcuts import get_object_or_404 -import django.utils.simplejson as json from podcast.models import Channel from podcast.models import Item