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.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

django_monitus-0.0.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-monitus-0.0.4.tar.gz
  • Upload date:
  • Size: 4.6 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.4.tar.gz
Algorithm Hash digest
SHA256 a13df7f1d4e5a193f3c2f8775d3d5ece8759bd87b46cf504da251f0040f533c0
MD5 5e0c7f62a8c16f6b27b4096f99ef3f0d
BLAKE2b-256 30792a391687d6e0806c524674ab4814ac0112c05769bc45dcbd86f0504d2e44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_monitus-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 991e992172fe3c993435d540c66ca1f277cfa3197159c51530be079b57f66575
MD5 c6ad0d9bb0d46e49a56716d03677ce87
BLAKE2b-256 f4963713bd1db805e3fe0e47f1ea50be8d7be413d9ee20097b0271721bbc826c

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