From 6d9134b88a4e81a6667d988e5b966f4564e4dc60 Mon Sep 17 00:00:00 2001 From: OGKevin Date: Sat, 27 May 2017 20:20:05 +0200 Subject: [PATCH] Should fix deployment issues --- BunqWebApp/settings.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/BunqWebApp/settings.py b/BunqWebApp/settings.py index 0c01312..f02c426 100644 --- a/BunqWebApp/settings.py +++ b/BunqWebApp/settings.py @@ -12,7 +12,7 @@ import os import dj_database_url -import raven +# import raven # from django.core.urlresolvers import reverse_lazy # Build paths inside the project like this: os.path.join(BASE_DIR, ...) @@ -36,7 +36,7 @@ import random SECRET_KEY = ''.join([random.SystemRandom().choice( 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)') - for i in range(50)]) + for i in range(50)]) secret = open(SECRET_FILE, 'w') secret.write(SECRET_KEY) secret.close() @@ -96,7 +96,10 @@ 'dsn': 'https://5b07f222cd424164b8335e9123d6b691:5a59117e1d1547caac3a05d6f18080e6@sentry.io/172713', # noqa # If you are using git, you can also automatically configure the # release based on the git info. - 'release': raven.fetch_git_sha(os.path.dirname(os.pardir)), + + # NOTE: This relases via GIT wont work on heroku. Using heroku delpoy hooks + # instead. + # 'release': raven.fetch_git_sha(os.path.dirname(os.pardir)), } LOGGING = { # NOTE: need to write logg msges. This can be done later :)