old_contents: from .base_settings import *
  import dj_database_url
  import os
  
  ALLOWED_HOSTS = ['0.0.0.0']
  
  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.dirname(os.path.abspath(__file__)))
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  # Simplified static file serving.
  # https://warehouse.python.org/project/whitenoise/
  # STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
new_contents: from .base_settings import *
  import dj_database_url
  import os
  
  ALLOWED_HOSTS = ['shaha-halaqat.herokuapp.com', '0.0.0.0']
  
  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.dirname(os.path.abspath(__file__)))
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  # Simplified static file serving.
  # https://warehouse.python.org/project/whitenoise/
  # STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
subject: Add heroku app url to ALLOWED_HOSTS