import dj_database_url
from hotohete.settings import *


db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)

ALLOWED_HOSTS = [
    'hotohete.herokuapp.com',
    'localhost',
    '127.0.0.1'
]

import dj_database_url
from hotohete.settings import *


db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)

ALLOWED_HOSTS = [
    'hotohete.herokuapp.com',
    'hotohetestaging.herokuapp.com',
    'localhost',
    '127.0.0.1'
]

Add stating to allowed hosts
Add stating to allowed hosts

  import dj_database_url
  from hotohete.settings import *
  
  
  db_from_env = dj_database_url.config(conn_max_age=500)
  DATABASES['default'].update(db_from_env)
  
  ALLOWED_HOSTS = [
      'hotohete.herokuapp.com',
+     'hotohetestaging.herokuapp.com',
      'localhost',
      '127.0.0.1'
  ]
  
Add stating to allowed hosts
## Code Before:
import dj_database_url
from hotohete.settings import *


db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)

ALLOWED_HOSTS = [
    'hotohete.herokuapp.com',
    'localhost',
    '127.0.0.1'
]

## Instruction:
Add stating to allowed hosts
## Code After:
import dj_database_url
from hotohete.settings import *


db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)

ALLOWED_HOSTS = [
    'hotohete.herokuapp.com',
    'hotohetestaging.herokuapp.com',
    'localhost',
    '127.0.0.1'
]
