Hi,
I use the sentry client for django and also the javascript one for my project.
I would like to find a way to disable in nicely on my localhost, not to see all the errors that appear during development.
I noticed i can set my RAVEN_CONFIG = { } empty in the localhost settings and that would solve the issue partly. The problem is that then i constantly see a javascript error in the console which also hides real js erorrs when i develop.
also used this version:
if 'DISABLED_APPS' in locals():
INSTALLED_APPS = [k for k in INSTALLED_APPS if k not in DISABLED_APPS]
MIDDLEWARE_CLASSES = list(MIDDLEWARE_CLASSES)
TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS)
for a in DISABLED_APPS:
for x, m in enumerate(MIDDLEWARE_CLASSES):
if m.startswith(a):
MIDDLEWARE_CLASSES.pop(x)
for x, m in enumerate(TEMPLATE_CONTEXT_PROCESSORS):
if m.startswith(a):
TEMPLATE_CONTEXT_PROCESSORS.pop(x)
DISABLED_APPS = ['sentry.client', 'sentry']
This does not work now anymore once i updated to djnago 1.7
Is there an elegant way to do this?
Thanks.