import os
import raven

from decouple import config

RAVEN_CONFIG = {
    'dsn': config('OW4_RAVEN_DSN', default='https://user:pass@sentry.io/project'),
    'environment': config('OW4_ENVIRONMENT', default='DEVELOP'),
    # Use git to determine release
    'release': raven.fetch_git_sha(os.path.dirname(os.pardir)),
}

import os
import raven

from decouple import config

RAVEN_CONFIG = {
    'dsn': config('OW4_RAVEN_DSN', default='https://user:pass@sentry.io/project'),
    'environment': config('OW4_ENVIRONMENT', default='DEVELOP'),
    # Use git to determine release
    'release': raven.fetch_git_sha(os.path.dirname(os.pardir)),
    'tags': { 'app': config('OW4_RAVEN_APP_NAME', default='') },
}

Make it possible to specify which app to represent in sentry
Make it possible to specify which app to represent in sentry
  import os
  import raven
  
  from decouple import config
  
  RAVEN_CONFIG = {
      'dsn': config('OW4_RAVEN_DSN', default='https://user:pass@sentry.io/project'),
      'environment': config('OW4_ENVIRONMENT', default='DEVELOP'),
      # Use git to determine release
      'release': raven.fetch_git_sha(os.path.dirname(os.pardir)),
+     'tags': { 'app': config('OW4_RAVEN_APP_NAME', default='') },
  }
  
Make it possible to specify which app to represent in sentry
## Code Before:
import os
import raven

from decouple import config

RAVEN_CONFIG = {
    'dsn': config('OW4_RAVEN_DSN', default='https://user:pass@sentry.io/project'),
    'environment': config('OW4_ENVIRONMENT', default='DEVELOP'),
    # Use git to determine release
    'release': raven.fetch_git_sha(os.path.dirname(os.pardir)),
}

## Instruction:
Make it possible to specify which app to represent in sentry
## Code After:
import os
import raven

from decouple import config

RAVEN_CONFIG = {
    'dsn': config('OW4_RAVEN_DSN', default='https://user:pass@sentry.io/project'),
    'environment': config('OW4_ENVIRONMENT', default='DEVELOP'),
    # Use git to determine release
    'release': raven.fetch_git_sha(os.path.dirname(os.pardir)),
    'tags': { 'app': config('OW4_RAVEN_APP_NAME', default='') },
}
