vk feed module
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import os
|
||||
|
||||
import environ
|
||||
import raven
|
||||
import sentry_sdk
|
||||
from sentry_sdk.integrations.django import DjangoIntegration
|
||||
|
||||
BASE_DIR = environ.Path(__file__) - 2
|
||||
|
||||
@@ -23,7 +24,6 @@ INSTALLED_APPS = [
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
|
||||
'raven.contrib.django.raven_compat',
|
||||
'django_extensions',
|
||||
'bootstrap4',
|
||||
'djconfig',
|
||||
@@ -109,7 +109,7 @@ LOGIN_URL = 'cabinet:login'
|
||||
LOGIN_REDIRECT_URL = 'cabinet:index'
|
||||
LOGOUT_REDIRECT_URL = LOGIN_URL
|
||||
|
||||
RAVEN_CONFIG = {
|
||||
'dsn': env.str('SENTRY_DSN', None),
|
||||
'release': raven.fetch_git_sha(str(BASE_DIR)),
|
||||
}
|
||||
sentry_sdk.init(
|
||||
dsn=env.str('SENTRY_DSN', None),
|
||||
integrations=[DjangoIntegration()],
|
||||
)
|
||||
|
Reference in New Issue
Block a user