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

Uploaded Source

Built Distribution

django_monitus-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-monitus-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 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.1.tar.gz
Algorithm Hash digest
SHA256 a8768a4b0edbbc6b093180d7a1a8e499f2262cd16551327a215819436c0e9cd9
MD5 1d12d14735bc57493e227080a73a2774
BLAKE2b-256 94684642271ae5bf14c1451a6893c77730b1de7db0ecd1bff8a0885939cc140b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_monitus-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46f45f3ffaddebf259bb33d6ae73e88107c15e7733b8066e5319d85924083c61
MD5 8ee2ed2aa978c590af26d8aad81326a9
BLAKE2b-256 38a543eef0191b4dca8f661769e0505e67a999e73a0a4ddee38e2e9d4ca5862e

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