django-maven
Capture exceptions in django management commands into Sentry by Raven.
Problem And Solution
Many management commands running in cron and by default errors and exceptions not wrote in logs. Or some people redirect all stdout in file (command >> file.txt) with log rotation or not.
This package make possible capture exceptions (not all stdout/stderr) in your Sentry project.
Installation
Install package:
$ pip install django-maven
Add django_maven in INSTALLED_APPS.
Use it! ;)
Example Of Usage
It’s simple!
Add maven command by first argument for manage.py in your management command string.
For example, this is command without django-maven:
$ python manage.py rebuild_index –noinput
And command with django-maven:
$ python manage.py maven rebuild_index –noinput
If rebuild_index command raising exception (server die or error creating index) you see their in your Sentry.
The name
django-maven is django Management rAVEN.
[](https://bitdeli.com/free “Bitdeli Badge”)
Changes
0.3 (2015-04-30)
Add Django 1.8 support
0.2 (2013-07-22)
Fix compatable with new Raven config (thanks @mktums)
0.1 (2013-07-17)
Initial release
Metadata
Release files for django-maven 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-maven-0.3.tar.gz | 4.0 kB | Without provenance | Details for django-maven-0.3.tar.gz |
Release files / django-maven-0.3.tar.gz
| Download URL | django-maven-0.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8ef6b9a9e3adcd04c19b7b09c5de826c35e135bdc99a4c1f22fb4fcb03f03a1
|
|
BLAKE2b-256 checksum How to use checksums |
3fe9211b2b25c2b9bbb9ee2f41b5b385313b8a61bdb4947e95b7294d66aec559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-maven 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.