{
  "name": "staticgen_demo",
  "description": "django-statigen demo project",
  "env": {
    "BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-python",
    "DJANGO_SETTINGS_MODULE": "config.settings.production",
    "DJANGO_SECRET_KEY": {
      "description": "A secret key for verifying the integrity of signed cookies.",
      "generator": "secret"
    },
    "DJANGO_ALLOWED_HOSTS": {
      "description": "Comma-separated list of hosts",
      "value": ".herokuapp.com"
    },
    "DJANGO_AWS_ACCESS_KEY_ID": "",
    "DJANGO_AWS_SECRET_ACCESS_KEY": "",
    "DJANGO_AWS_STORAGE_BUCKET_NAME": ""
  },
  "scripts": {
    "postdeploy": "python manage.py migrate"
  },
  "addons": [
    "heroku-postgresql:hobby-dev",
    "heroku-redis:hobby-dev",
    "sendgrid:starter"
  ]
}

{
  "name": "staticgen_demo",
  "description": "django-statigen demo project",
  "env": {
    "BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-python",
    "DJANGO_SETTINGS_MODULE": "config.settings.production",
    "DJANGO_SECRET_KEY": {
      "description": "A secret key for verifying the integrity of signed cookies.",
      "generator": "secret"
    },
    "DJANGO_ALLOWED_HOSTS": {
      "description": "Comma-separated list of hosts",
      "value": ".herokuapp.com, .amazonaws.com"
    },
    "DJANGO_AWS_ACCESS_KEY_ID": "",
    "DJANGO_AWS_SECRET_ACCESS_KEY": "",
    "DJANGO_AWS_STORAGE_BUCKET_NAME": ""
  },
  "scripts": {
    "postdeploy": "python manage.py migrate"
  },
  "addons": [
    "heroku-postgresql:hobby-dev",
    "heroku-redis:hobby-dev",
    "sendgrid:starter"
  ]
}

Add amazonaws.com to default ALLOWED_HOSTS settings.
Add amazonaws.com to default ALLOWED_HOSTS settings.
