old_contents: from pkg_resources import get_distribution
  
  default_app_config = "axes.apps.AppConfig"
  
  __version__ = get_distribution("django-axes").version
  
new_contents: from pkg_resources import get_distribution
  
  import django
  
  if django.VERSION < (3, 2):
      default_app_config = "axes.apps.AppConfig"
  
  __version__ = get_distribution("django-axes").version
  
subject: Fix default_app_config deprecation