|
|
|
|
@ -11,7 +11,6 @@ https://docs.djangoproject.com/en/1.10/ref/settings/
|
|
|
|
|
"""
|
|
|
|
|
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__)))
|
|
|
|
|
@ -35,12 +34,6 @@ ALLOWED_HOSTS = ['*', 'www.lylinux.net', '127.0.0.1', 'example.com']
|
|
|
|
|
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',
|
|
|
|
|
|