old_contents: from .common import *
  import dj_database_url
  
  # Settings for production environment
  DEBUG = False
  
  # Update database configuration with $DATABASE_URL.
  db_from_env = dj_database_url.config(conn_max_age=500)
  DATABASES['default'].update(db_from_env)
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/1.9/howto/static-files/
  
  PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles')
  STATIC_URL = '/static/'
  
  # Extra places for collectstatic to find static files.
  STATICFILES_DIRS = (
      os.path.join(PROJECT_ROOT, 'static'),
  )
  
  # Simplified static file serving.
  # https://warehouse.python.org/project/whitenoise/
  
  STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
new_contents: from .common import *
  import dj_database_url
  
  # Settings for production environment
  DEBUG = False
  
  # Update database configuration with $DATABASE_URL.
  db_from_env = dj_database_url.config(conn_max_age=500)
  DATABASES['default'].update(db_from_env)
  
  
  # Simplified static file serving.
  # https://warehouse.python.org/project/whitenoise/
  
  STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
subject: fix deploy