Skip to content

BalanceCareerInc/django-github-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-github-log

Create an issue group by error on github when django raises error

Installation

  1. Add following settings dictionary in your settings.py (LABELS is optional)

    GITHUB_LOG_SETTINGS = {
        'USER': 'REPOSITORY-OWNER',
        'REPO': 'REPOSITORY-NAME',
        'TOKEN': 'GITHUB-API-TOKEN',
        'LABELS': [
            'priority:normal',
            'type:error',
            ...
        ]
    }
  2. Add "github_log" in INSTALLED_APPS

  3. Add logging handler in settings.Logging['handlers']

    'github': {
        'level': 'ERROR',
        'class': 'github_log.log.GitHubIssueHandler'
    },
  4. python manage.py syncdb

About

Create an issue on github when django raises error

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages