I have a working Django site that hosts locally without errors, however deploying it with Zappa gives me the following error:
The SECRET_KEY setting must not be empty.
Initially while getting setup with Django this error was caused by incorrectly pathed settings, but that was fixed and the SECRET_KEY is present in a base.py file.
One suggestion from the zappa output is to try turning "slim_handler" to false. Doing that results in the following error instead:
No module named django.core.wsgi
This is another error I had experienced before, when getting the site setup locally. It meant that Django was not present in the virtualenv I had setup (I checked, and the correct version is present now).
What might be the reason that a Django site would work fine when hosted locally, but would give errors (seemingly pathing related) when attempting to deploy with Zappa?
The answer ended up being (probably) that I was using Django 1.9.x when Zappa requires 1.10+