comparison mp3/management/commands/import_old_mp3.py @ 89:b7cdfdde3999

For Django 1.5: replace django's simplejson with json.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 19:53:31 -0500
parents e2868ad47a1e
children
comparison
equal deleted inserted replaced
87:978a08c838d8 89:b7cdfdde3999
2 import_old_mp3.py - For importing mp3 data from the older version of this 2 import_old_mp3.py - For importing mp3 data from the older version of this
3 website. 3 website.
4 4
5 """ 5 """
6 import datetime 6 import datetime
7 import json
7 8
8 from django.core.management.base import LabelCommand 9 from django.core.management.base import LabelCommand
9 from django.utils import simplejson as json
10 from django.utils.html import linebreaks 10 from django.utils.html import linebreaks
11 11
12 from mp3.models import Collection, Song 12 from mp3.models import Collection, Song
13 13
14 14