Skip to content

bopfermann/django-raygun-dot-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-raygun-dot-io

This package provides a Django middleware class that handles errors and will send them to the Raygun.IO service if the appropriate settings are enabled.

Installation

Install from Github:

$ pip install git+https://github.com/bopfermann/django-raygun-dot-io.git#egg=django_raygun_dot_io

OR download and...

$ python setup.py install

Add the middleware class to your MIDDLEWARE_CLASSES:

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'raygun_dot_io.middleware.RaygunDotIOMiddleware',
)

And then add your settings.

Settings

  • RAYGUN_API_URL: This allows you to override the default raygun api URL. (Default: https://api.raygun.io/entries)
  • RAYGUN_API_KEY: This is your private Raygun.IO API Key for the configured application. Please get this from Application Settings at https://app.raygun.io/
  • RAYGUN_API_ENABLED: This will turn the error reporting on or off (True or False) (Default: False)

About

Raygun.IO Middleware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages