import os

from django.core.management.base import BaseCommand

from tracks.models import Track


class Command(BaseCommand):

    def handle(self, *args, **options):
        tracks = Track.objects.all()

        for track in tracks:
            track.save()


@@ -227,16 +227,40 @@
 tracks:%0A
+            print track%0A
         

migrate script