Skip to content

Commit

Permalink
Merge pull request #143 from liangliangyy/dev
Browse files Browse the repository at this point in the history
去掉 RAVEN_CONFIG 配置
  • Loading branch information
liangliangyy committed Jul 25, 2018
2 parents 928d189 + 962f931 commit df02d84
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions DjangoBlog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"""
import sys
import os
import raven

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand All @@ -35,12 +34,6 @@
SITE_ROOT = os.path.dirname(os.path.abspath(__file__))
SITE_ROOT = os.path.abspath(os.path.join(SITE_ROOT, '../'))

RAVEN_CONFIG = {
'dsn': os.environ.get('SENTRY_DSN'),
# If you are using git, you can also automatically configure the
# release based on the git info.
'release': raven.fetch_git_sha(os.path.abspath(SITE_ROOT)),
}

INSTALLED_APPS = [
# 'django.contrib.admin',
Expand Down

0 comments on commit df02d84

Please sign in to comment.