This looks like its specifically **your** sentry.conf that's the problem, so not general stuff.

e.g. you're redefining INSTALLED_APPS, which means you have to have the global import.