from richard.settings import *

ALLOWED_HOSTS = ['pyvideo.ru']
TIME_ZONE = 'Europe/Moscow'
LANGUAGE_CODE = 'ru'
SECRET_KEY = 'this_is_not_production_so_who_cares'

ROOT_URLCONF = 'pyvideo.urls'

WSGI_APPLICATION = 'pyvideo.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(ROOT, 'templates'),
)

INSTALLED_APPS = INSTALLED_APPS + (
    'raven.contrib.django.raven_compat',
)

from richard.settings import *

ALLOWED_HOSTS = ['pyvideo.ru', 'pyvideoru.herokuapp.com']
TIME_ZONE = 'Europe/Moscow'
LANGUAGE_CODE = 'ru'
SECRET_KEY = 'this_is_not_production_so_who_cares'

ROOT_URLCONF = 'pyvideo.urls'

WSGI_APPLICATION = 'pyvideo.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(ROOT, 'templates'),
)

INSTALLED_APPS = INSTALLED_APPS + (
    'raven.contrib.django.raven_compat',
)

Add heroku host to ALLOWED_HOSTS
Add heroku host to ALLOWED_HOSTS

  from richard.settings import *
  
- ALLOWED_HOSTS = ['pyvideo.ru']
+ ALLOWED_HOSTS = ['pyvideo.ru', 'pyvideoru.herokuapp.com']
  TIME_ZONE = 'Europe/Moscow'
  LANGUAGE_CODE = 'ru'
  SECRET_KEY = 'this_is_not_production_so_who_cares'
  
  ROOT_URLCONF = 'pyvideo.urls'
  
  WSGI_APPLICATION = 'pyvideo.wsgi.application'
  
  TEMPLATE_DIRS = (
      os.path.join(ROOT, 'templates'),
  )
  
  INSTALLED_APPS = INSTALLED_APPS + (
      'raven.contrib.django.raven_compat',
  )
  
Add heroku host to ALLOWED_HOSTS
## Code Before:
from richard.settings import *

ALLOWED_HOSTS = ['pyvideo.ru']
TIME_ZONE = 'Europe/Moscow'
LANGUAGE_CODE = 'ru'
SECRET_KEY = 'this_is_not_production_so_who_cares'

ROOT_URLCONF = 'pyvideo.urls'

WSGI_APPLICATION = 'pyvideo.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(ROOT, 'templates'),
)

INSTALLED_APPS = INSTALLED_APPS + (
    'raven.contrib.django.raven_compat',
)

## Instruction:
Add heroku host to ALLOWED_HOSTS
## Code After:
from richard.settings import *

ALLOWED_HOSTS = ['pyvideo.ru', 'pyvideoru.herokuapp.com']
TIME_ZONE = 'Europe/Moscow'
LANGUAGE_CODE = 'ru'
SECRET_KEY = 'this_is_not_production_so_who_cares'

ROOT_URLCONF = 'pyvideo.urls'

WSGI_APPLICATION = 'pyvideo.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(ROOT, 'templates'),
)

INSTALLED_APPS = INSTALLED_APPS + (
    'raven.contrib.django.raven_compat',
)
