Metadata-Version: 2.1
Name: django-maven
Version: 0.3
Summary: Capture exceptions in django management commands into Sentry by Raven
Home-page: https://github.com/saippuakauppias/django-maven
Author: Denis Veselov
Author-email: progr.mail@gmail.com
License: ISC
Keywords: django exception management command sentry raven raise error handling log logging
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
License-File: LICENSE
Requires-Dist: django

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
------------

1. Install package:

    $ pip install django-maven

2. Add `django_maven` in `INSTALLED_APPS`.

3. 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.


[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/saippuakauppias/django-maven/trend.png)](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
