old_contents: import django
  
  if django.VERSION >= (1, 6):
      from django.utils.module_loading import import_by_path
      path_to_import = import_by_path
  else:
      from ajax.utils import import_by_path
      path_to_import = import_by_path
  
new_contents: from __future__ import absolute_import
  import django
  
  if django.VERSION >= (1, 7):
      from django.utils.module_loading import import_string as path_to_import
      from importlib import import_module
  else:
      # 1.4 LTS compatibility
      from ajax.utils import import_by_path as path_to_import
      from django.utils.importlib import import_module
  
subject: Update compat imports