Create an issue group by error on github when django raises error
Installation
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',
...
]
}
Add “github_log” in INSTALLED_APPS
Add logging handler in settings.Logging[‘handlers’]
'github': {
'level': 'ERROR',
'class': 'github_log.log.GitHubIssueHandler'
},
Finally, python manage.py syncdb
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-github-log-0.1.13.tar.gz.
File metadata
- Download URL: django-github-log-0.1.13.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c09474727893f87a14103bb5396763f661e94e2e9590ffc81ae2140148c1fb49
|
|
| MD5 |
5b40da454b94d84245843f1e274c0e42
|
|
| BLAKE2b-256 |
0c42284c0a0e59e6ff7aacd766be8ffff875f12569d46f8e9d56449465277152
|