old_contents: """
  dj-stripe - Django + Stripe Made Easy
  """
  import pkg_resources
  from django.apps import AppConfig
  
  __version__ = pkg_resources.get_distribution("dj-stripe").version
  
  default_app_config = "djstripe.DjstripeAppConfig"
  
  
  class DjstripeAppConfig(AppConfig):
      """
      An AppConfig for dj-stripe which loads system checks
      and event handlers once Django is ready.
      """
  
      name = "djstripe"
  
      def ready(self):
          import stripe
  
          from . import (  # noqa: Register the checks and event handlers
              checks,
              event_handlers,
          )
  
          # Set app info
          # https://stripe.com/docs/building-plugins#setappinfo
          stripe.set_app_info(
              "dj-stripe",
              version=__version__,
              url="https://github.com/dj-stripe/dj-stripe",
          )
  
new_contents: """
  dj-stripe - Django + Stripe Made Easy
  """
  import pkg_resources
  from django.apps import AppConfig
  
  __version__ = pkg_resources.get_distribution("dj-stripe").version
  
  default_app_config = "djstripe.DjstripeAppConfig"
  
  
  class DjstripeAppConfig(AppConfig):
      """
      An AppConfig for dj-stripe which loads system checks
      and event handlers once Django is ready.
      """
  
      name = "djstripe"
      default_auto_field = "django.db.models.AutoField"
  
      def ready(self):
          import stripe
  
          from . import (  # noqa: Register the checks and event handlers
              checks,
              event_handlers,
          )
  
          # Set app info
          # https://stripe.com/docs/building-plugins#setappinfo
          stripe.set_app_info(
              "dj-stripe",
              version=__version__,
              url="https://github.com/dj-stripe/dj-stripe",
          )
  
subject: set default_auto_field at the app level to avoid unnecessary migrations