old_contents: 
  import os
  from urllib.parse import urlparse
  
  XML = False
  IF_MATCH = False
  BANDWIDTH_SAVER = False
  DATE_FORMAT = '%Y-%m-%dT%H:%M:%S+0000'
  
  
  server_url = urlparse(os.environ.get('SUPERDESK_URL', 'http://localhost:5000'))
  URL_PROTOCOL = server_url.scheme or None
  SERVER_NAME = server_url.netloc or None
  URL_PREFIX = server_url.path.lstrip('/') or ''
  
  CACHE_CONTROL = 'max-age=0, no-cache'
  
  X_DOMAINS = '*'
  X_HEADERS = ['Content-Type', 'Authorization', 'If-Match']
  
  MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'superdesk')
  if os.environ.get('MONGOLAB_URI'):
      MONGO_URI = os.environ.get('MONGOLAB_URI')
  
  ELASTICSEARCH_URL = os.environ.get('ELASTICSEARCH_URL', 'http://localhost:9200')
  ELASTICSEARCH_INDEX = os.environ.get('ELASTICSEARCH_INDEX', 'superdesk')
  
  INSTALLED_APPS = (
      'superdesk.io',
      'superdesk.auth',
      'superdesk.users',
      'superdesk.user_roles',
      'superdesk.items',
      'superdesk.activity',
      'superdesk.upload',
      'superdesk.sessions',
      'superdesk.desks',
      'superdesk.subjectcodes',
  )
  
  RESOURCE_METHODS = ['GET', 'POST']
  ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']
  EXTENDED_MEDIA_INFO = ['content_type', 'name', 'length']
  
  RENDITIONS = {
      'picture': {
          'thumbnail': {'width': 150, 'height': 150},
          'view': {'width': 640, 'height': 640}
      }
  }
  
  # uncomment to use local file storage
  # DEFAULT_FILE_STORAGE = 'superdesk.storage.FileSystemStorage'
  # abspath = os.path.abspath(os.path.dirname(__file__))
  # UPLOAD_FOLDER = os.path.join(abspath, 'upload')
  
new_contents: 
  import os
  from urllib.parse import urlparse
  
  XML = False
  IF_MATCH = False
  BANDWIDTH_SAVER = False
  DATE_FORMAT = '%Y-%m-%dT%H:%M:%S+0000'
  
  
  server_url = urlparse(os.environ.get('SUPERDESK_URL', 'http://localhost:5000'))
  URL_PROTOCOL = server_url.scheme or None
  SERVER_NAME = server_url.netloc or None
  URL_PREFIX = server_url.path.lstrip('/') or ''
  
  CACHE_CONTROL = 'max-age=0, no-cache'
  
  X_DOMAINS = '*'
  X_HEADERS = ['Content-Type', 'Authorization', 'If-Match']
  
  MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'superdesk')
  if os.environ.get('MONGOLAB_URI'):
      MONGO_URI = os.environ.get('MONGOLAB_URI')
  
  ELASTICSEARCH_URL = os.environ.get('ELASTICSEARCH_URL', 'http://localhost:9200')
  ELASTICSEARCH_INDEX = os.environ.get('ELASTICSEARCH_INDEX', 'superdesk')
  
  INSTALLED_APPS = (
      'superdesk.io',
      'superdesk.auth',
      'superdesk.users',
      'superdesk.user_roles',
      'superdesk.items',
      'superdesk.activity',
      'superdesk.upload',
      'superdesk.sessions',
      'superdesk.desks',
      'superdesk.subjectcodes',
  )
  
  RESOURCE_METHODS = ['GET', 'POST']
  ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']
  EXTENDED_MEDIA_INFO = ['content_type', 'name', 'length']
  
  RENDITIONS = {
      'picture': {
          'thumbnail': {'width': 220, 'height': 120},
          'sidebar': {'width': 640, 'height': 640},
          'large': {'width': 1400, 'height': 1400},
      }
  }
  
  # uncomment to use local file storage
  # DEFAULT_FILE_STORAGE = 'superdesk.storage.FileSystemStorage'
  # abspath = os.path.abspath(os.path.dirname(__file__))
  # UPLOAD_FOLDER = os.path.join(abspath, 'upload')
  
subject: update system rendition sizes