Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Should fix deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed May 27, 2017
1 parent b9354fc commit 6d9134b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions BunqWebApp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
Expand All @@ -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()
Expand Down Expand Up @@ -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 :)
Expand Down

0 comments on commit 6d9134b

Please sign in to comment.