Skip to main content

Tiny error reporting middleware(s) for Django.

Project description

https://img.shields.io/twitter/follow/gagliardi_vale?style=social https://github.com/valentinogagliardi/django-monitus/workflows/Tox%20tests/badge.svg

Tiny error reporting middleware(s) for Django. Includes the following middlewares:

  • Error403EmailsMiddleware: sends an email to ADMINS on 403.

  • FailedLoginMiddleware: sends an email to ADMINS on failed logins.

Requirements

Tested on Python 3.8.

Tested on Django 3.0 and 3.1.

Setup

Install from pip:

python -m pip install django-monitus

Then add it to the list of installed apps:

INSTALLED_APPS = [
...
"monitus"
...
]

Enable the desired middleware:

MIDDLEWARE = [
...
"monitus.middleware.Error403EmailsMiddleware"
...
]

Setup ADMINS in your settings:

MANAGERS = [("Juliana C.", "juliana.crain@dev.io")]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-monitus-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

django_monitus-0.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file django-monitus-0.0.2.tar.gz.

File metadata

  • Download URL: django-monitus-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for django-monitus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1bccfd97e1d450d4f4e6906a9cf89ff4c544c6dbc80e5002958a94e98d8fcea2
MD5 fb432e606fa4353c076445c027694941
BLAKE2b-256 a20774d6c8edff616a7b71525a662165694d8a2767bcd4ffccf02f0aab95a41c

See more details on using hashes here.

File details

Details for the file django_monitus-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_monitus-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for django_monitus-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5af2c399b733954ef40388d2e233b23fa256e2a9dd0fafc231f90f73048a3cdc
MD5 9997146ea9594096cf106dc5a33016c5
BLAKE2b-256 eb1367de4092e7a9991f38d14a362e9d4582390f0bc7525d66336f326ebdd800

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page