old_contents: """Local development settings, including local_settings, if present."""
  from __future__ import absolute_import
  import os
  
  from .base import CommunityBaseSettings
  
  
  class CommunityDevSettings(CommunityBaseSettings):
  
      """Settings for local development"""
  
      PRODUCTION_DOMAIN = 'localhost:8000'
      WEBSOCKET_HOST = 'localhost:8088'
  
      @property
      def DATABASES(self):  # noqa
          return {
              'default': {
                  'ENGINE': 'django.db.backends.sqlite3',
                  'NAME': os.path.join(self.SITE_ROOT, 'dev.db'),
              }
          }
  
      DONT_HIT_DB = False
  
      SESSION_COOKIE_DOMAIN = None
      CACHE_BACKEND = 'dummy://'
  
      SLUMBER_USERNAME = 'test'
      SLUMBER_PASSWORD = 'test'  # noqa: ignore dodgy check
      SLUMBER_API_HOST = 'http://localhost:8000'
      PUBLIC_API_URL = 'http://localhost:8000'
  
      BROKER_URL = 'redis://localhost:6379/0'
      CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
      CELERY_RESULT_SERIALIZER = 'json'
      CELERY_ALWAYS_EAGER = True
  
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
          },
      }
  
      EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
      FILE_SYNCER = 'readthedocs.builds.syncers.LocalSyncer'
  
      # For testing locally. Put this in your /etc/hosts:
      # 127.0.0.1 test
      # and navigate to http://test:8000
      CORS_ORIGIN_WHITELIST = (
          'test:8000',
      )
  
      @property
      def LOGGING(self):  # noqa - avoid pep8 N802
          logging = super(CommunityDevSettings, self).LOGGING
          logging['formatters']['default']['format'] = '[%(asctime)s] ' + self.LOG_FORMAT
          return logging
  
  
  CommunityDevSettings.load_settings(__name__)
  
  if not os.environ.get('DJANGO_SETTINGS_SKIP_LOCAL', False):
      try:
          # pylint: disable=unused-wildcard-import
          from .local_settings import *  # noqa
      except ImportError:
          pass
  
new_contents: """Local development settings, including local_settings, if present."""
  from __future__ import absolute_import
  import os
  
  from .base import CommunityBaseSettings
  
  
  class CommunityDevSettings(CommunityBaseSettings):
  
      """Settings for local development"""
  
      PRODUCTION_DOMAIN = 'localhost:8000'
      WEBSOCKET_HOST = 'localhost:8088'
  
      @property
      def DATABASES(self):  # noqa
          return {
              'default': {
                  'ENGINE': 'django.db.backends.sqlite3',
                  'NAME': os.path.join(self.SITE_ROOT, 'dev.db'),
              }
          }
  
      DONT_HIT_DB = False
  
      ACCOUNT_EMAIL_VERIFICATION = 'none'
      SESSION_COOKIE_DOMAIN = None
      CACHE_BACKEND = 'dummy://'
  
      SLUMBER_USERNAME = 'test'
      SLUMBER_PASSWORD = 'test'  # noqa: ignore dodgy check
      SLUMBER_API_HOST = 'http://localhost:8000'
      PUBLIC_API_URL = 'http://localhost:8000'
  
      BROKER_URL = 'redis://localhost:6379/0'
      CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
      CELERY_RESULT_SERIALIZER = 'json'
      CELERY_ALWAYS_EAGER = True
  
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
          },
      }
  
      EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
      FILE_SYNCER = 'readthedocs.builds.syncers.LocalSyncer'
  
      # For testing locally. Put this in your /etc/hosts:
      # 127.0.0.1 test
      # and navigate to http://test:8000
      CORS_ORIGIN_WHITELIST = (
          'test:8000',
      )
  
      @property
      def LOGGING(self):  # noqa - avoid pep8 N802
          logging = super(CommunityDevSettings, self).LOGGING
          logging['formatters']['default']['format'] = '[%(asctime)s] ' + self.LOG_FORMAT
          return logging
  
  
  CommunityDevSettings.load_settings(__name__)
  
  if not os.environ.get('DJANGO_SETTINGS_SKIP_LOCAL', False):
      try:
          # pylint: disable=unused-wildcard-import
          from .local_settings import *  # noqa
      except ImportError:
          pass
  
subject: Make email verification optional for dev