# django-slack
[![Build
Status](https://travis-ci.org/prontodev/django-slack.svg?branch=master)](https://travis-ci.org/prontodev/django-slack)

# Django Slack
[![Build
Status](https://travis-ci.org/prontodev/django-slack.svg?branch=master)](https://travis-ci.org/prontodev/django-slack)

## Django Settings Example

```
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'filters': {
        'require_debug_false': {
            '()': 'django.utils.log.RequireDebugFalse'
        }
    },
    'handlers': {
        'mail_admins': {
            'level': 'ERROR',
            'filters': ['require_debug_false'],
            'class': 'django.utils.log.AdminEmailHandler'
        },
        'slack': {
            'level': 'ERROR',
            'filters': ['require_debug_false'],
            'class': 'slack.utils.SlackHandler'
        }
    },
    'loggers': {
        'django.request': {
            'handlers': ['mail_admins', 'slack'],
            'level': 'ERROR',
            'propagate': True,
        },
    }
}
```

```
SLACK_TOKEN = '<token>'
SLACK_CHANNEL = '#<channel>'
SLACK_USERNAME = '<username>'

SLACK_PARAMS = {
    'GET': True,
    'POST': True,
    'META': {
        'SERVER_NAME': True,
        'HTTP_ACCEPT': True
    }
}
```

Add settings example into readme :bicyclist:
Add settings example into readme :bicyclist:
