old_contents: # -*- coding: utf-8 -*-
  """
  Local settings
  
  - Run in Debug mode
  - Use console backend for emails
  - Add Django Debug Toolbar
  - Add django-extensions as app
  """
  
  from .common import *  # noqa
  
  # Quick-start development settings - unsuitable for production
  # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
  
  # SECURITY WARNING: keep the secret key used in production secret!
  SECRET_KEY = 'w1kxu^l=@pnsf!5piqz6!!5kdcdpo79y6jebbp+2244yjm*#+k'
  
  # SECURITY WARNING: don't run with debug turned on in production!
  DEBUG = True
  
  # Database
  # https://docs.djangoproject.com/en/1.9/ref/settings/#databases
  DATABASES['default']['NAME'] = 'chris_dev'
  DATABASES['default']['USER'] = 'chris'
  DATABASES['default']['PASSWORD'] = 'Chris1234'
  DATABASES['default']['TEST'] = {'CHARSET': 'utf8'}
  
  # Feed file storage
  MEDIA_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(BASE_DIR))) + '/users'
  if not os.path.exists(MEDIA_ROOT):
      os.makedirs(MEDIA_ROOT)
  
  # Mail settings
  # ------------------------------------------------------------------------------
  EMAIL_HOST = 'localhost'
  EMAIL_PORT = 1025
  EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  
  
  # django-debug-toolbar
  # ------------------------------------------------------------------------------
  MIDDLEWARE_CLASSES += ['debug_toolbar.middleware.DebugToolbarMiddleware']
  INSTALLED_APPS += ['debug_toolbar']
  
  INTERNAL_IPS = ['127.0.0.1',]
  
  DEBUG_TOOLBAR_CONFIG = {
      'DISABLE_PANELS': [
          'debug_toolbar.panels.redirects.RedirectsPanel',
      ],
      'SHOW_TEMPLATE_CONTEXT': True,
  }
  
  # django-extensions
  # ------------------------------------------------------------------------------
  INSTALLED_APPS += ['django_extensions']
  
  # mod_wsgi express development server (multithreaded and supports Https)
  # ------------------------------------------------------------------------------
  INSTALLED_APPS += ['mod_wsgi.server']
  
  # TESTING
  # ------------------------------------------------------------------------------
  TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  
  # corsheaders
  # ------------------------------------------------------------------------------
  CORS_ORIGIN_ALLOW_ALL = True
  
new_contents: # -*- coding: utf-8 -*-
  """
  Local settings
  
  - Run in Debug mode
  - Use console backend for emails
  - Add Django Debug Toolbar
  - Add django-extensions as app
  """
  
  from .common import *  # noqa
  
  # Quick-start development settings - unsuitable for production
  # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
  
  # SECURITY WARNING: keep the secret key used in production secret!
  SECRET_KEY = 'w1kxu^l=@pnsf!5piqz6!!5kdcdpo79y6jebbp+2244yjm*#+k'
  
  # SECURITY WARNING: don't run with debug turned on in production!
  DEBUG = True
  
  # Database
  # https://docs.djangoproject.com/en/1.9/ref/settings/#databases
  DATABASES['default']['NAME'] = 'chris_dev'
  DATABASES['default']['USER'] = 'chris'
  DATABASES['default']['PASSWORD'] = 'Chris1234'
  DATABASES['default']['TEST'] = {'CHARSET': 'utf8'}
  
  # pman settings
  PMAN    = {
      'host': 'localhost',
      'port': 5010
  }
  
  # Feed file storage
  MEDIA_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(BASE_DIR))) + '/users'
  if not os.path.exists(MEDIA_ROOT):
      os.makedirs(MEDIA_ROOT)
  
  # Mail settings
  # ------------------------------------------------------------------------------
  EMAIL_HOST = 'localhost'
  EMAIL_PORT = 1025
  EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  
  
  # django-debug-toolbar
  # ------------------------------------------------------------------------------
  MIDDLEWARE_CLASSES += ['debug_toolbar.middleware.DebugToolbarMiddleware']
  INSTALLED_APPS += ['debug_toolbar']
  
  INTERNAL_IPS = ['127.0.0.1',]
  
  DEBUG_TOOLBAR_CONFIG = {
      'DISABLE_PANELS': [
          'debug_toolbar.panels.redirects.RedirectsPanel',
      ],
      'SHOW_TEMPLATE_CONTEXT': True,
  }
  
  # django-extensions
  # ------------------------------------------------------------------------------
  INSTALLED_APPS += ['django_extensions']
  
  # mod_wsgi express development server (multithreaded and supports Https)
  # ------------------------------------------------------------------------------
  INSTALLED_APPS += ['mod_wsgi.server']
  
  # TESTING
  # ------------------------------------------------------------------------------
  TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  
  # corsheaders
  # ------------------------------------------------------------------------------
  CORS_ORIGIN_ALLOW_ALL = True
  
subject: Add PMAN dict for pman settings.