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
  """
  
  import socket
  import os
  from .common import *  # noqa
  
  # DEBUG
  # ------------------------------------------------------------------------------
  DEBUG = env.bool('DJANGO_DEBUG', default=True)
  TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
  
  # SECRET CONFIGURATION
  # ------------------------------------------------------------------------------
  # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
  # Note: This key only used for development and testing.
  SECRET_KEY = env('DJANGO_SECRET_KEY', default='7wf*di-picr_hqi6%f3r_l#cn#)x5o=_1xiwkd81=0v5twkz6i')
  
  # Mail settings
  # ------------------------------------------------------------------------------
  
  EMAIL_PORT = 1025
  
  EMAIL_HOST = 'localhost'
  EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND',
                      default='django.core.mail.backends.console.EmailBackend')
  
  
  # CACHING
  # ------------------------------------------------------------------------------
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
          'LOCATION': ''
      }
  }
  
  INTERNAL_IPS = ['127.0.0.1', '10.0.2.2', ]
  # tricks to have debug toolbar when developing with docker
  if os.environ.get('USE_DOCKER') == 'yes':
      ip = socket.gethostbyname(socket.gethostname())
      INTERNAL_IPS += [ip[:-1] + "1"]
  
  
  # django-extensions
  # ------------------------------------------------------------------------------
  INSTALLED_APPS += ('django_extensions', )
  
  # TESTING
  # ------------------------------------------------------------------------------
  TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  
  ########## CELERY
  # In development, all tasks will be executed locally by blocking until the task returns
  CELERY_ALWAYS_EAGER = True
  ########## END CELERY
  
  # Your local stuff: Below this line define 3rd party library settings
  # ------------------------------------------------------------------------------
  
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
  """
  
  import socket
  import os
  from .common import *  # noqa
  
  # DEBUG
  # ------------------------------------------------------------------------------
  DEBUG = env.bool('DJANGO_DEBUG', default=True)
  TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
  
  # SECRET CONFIGURATION
  # ------------------------------------------------------------------------------
  # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
  # Note: This key only used for development and testing.
  SECRET_KEY = env('DJANGO_SECRET_KEY', default='7wf*di-picr_hqi6%f3r_l#cn#)x5o=_1xiwkd81=0v5twkz6i')
  
  # Mail settings
  # ------------------------------------------------------------------------------
  
  EMAIL_PORT = 1025
  
  EMAIL_HOST = 'localhost'
  EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND',
                      default='django.core.mail.backends.console.EmailBackend')
  
  
  # CACHING
  # ------------------------------------------------------------------------------
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
          'LOCATION': ''
      }
  }
  
  INTERNAL_IPS = ['127.0.0.1', '10.0.2.2', ]
  # tricks to have debug toolbar when developing with docker
  if os.environ.get('USE_DOCKER') == 'yes':
      ip = socket.gethostbyname(socket.gethostname())
      INTERNAL_IPS += [ip[:-1] + "1"]
  
  
  # TESTING
  # ------------------------------------------------------------------------------
  TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  
  ########## CELERY
  # In development, all tasks will be executed locally by blocking until the task returns
  CELERY_ALWAYS_EAGER = True
  ########## END CELERY
  
  # Your local stuff: Below this line define 3rd party library settings
  # ------------------------------------------------------------------------------
  
subject: Remove django extensions