old_contents: import os
  import shutil
  
  from django.conf import settings
  from django.core.management import call_command
  from django.core.management.base import NoArgsCommand
  
  
  class Command(NoArgsCommand):
      def handle_noargs(self, **options):
          fixtures_dir = os.path.join(settings.PROJECT_ROOT, settings.SITE_NAME, 'core', 'fixtures')
          fixture_file = os.path.join(fixtures_dir, 'initial_data.json')
          image_src_dir = os.path.join(fixtures_dir, 'images')
          image_dest_dir = os.path.join(settings.MEDIA_ROOT, 'original_images')
  
          call_command('loaddata', fixture_file, verbosity=3)
  
          if not os.path.isdir(image_dest_dir):
              os.makedirs(image_dest_dir)
  
          for filename in os.listdir(image_src_dir):
              shutil.copy(os.path.join(image_src_dir, filename), image_dest_dir)
  
new_contents: import os
  import shutil
  
  from django.conf import settings
  from django.core.management import call_command
  from django.core.management.base import BaseCommand
  
  
  class Command(BaseCommand):
      def handle(self, *args, **options):
          fixtures_dir = os.path.join(settings.PROJECT_ROOT, settings.SITE_NAME, 'core', 'fixtures')
          fixture_file = os.path.join(fixtures_dir, 'initial_data.json')
          image_src_dir = os.path.join(fixtures_dir, 'images')
          image_dest_dir = os.path.join(settings.MEDIA_ROOT, 'original_images')
  
          call_command('loaddata', fixture_file, verbosity=3)
  
          if not os.path.isdir(image_dest_dir):
              os.makedirs(image_dest_dir)
  
          for filename in os.listdir(image_src_dir):
              shutil.copy(os.path.join(image_src_dir, filename), image_dest_dir)
  
subject: Fix load_initial_data command for django>=1.11 (#104)