A Django package for error reporting to Latta API
Project description
Latta Django Recorder
This is a python package used to record exception throw inside Django projects, it also supports Django REST framework
Usage
Install latta-django package
pip install latta-django-recorder
Registration is fairly straightforward, all you have to do is install the app in settings.py
INSTALLED_APPS = [
# ...
'latta.latta.apps.LattaConfig',
# ...
]
Then register the Latta middleware
MIDDLEWARE = [
# ...
'latta.latta.middleware.LattaMiddleware',
# ...
]
And a a last step provide a Latta api key
LATTA_API_KEY = "..."
On application startup it is going to create a new instance and reuse it through the life time of the application.
Currently it only creates new snapshots when an exception happens. It is going to be fairly easy to extend it to record every request/response, or even just depending on response status code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latta_django_recorder-0.1.tar.gz.
File metadata
- Download URL: latta_django_recorder-0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aff9194dea67d3058c9f3993bb44bfa5bb5d02b65cfd18a82b3f80a1e07683a
|
|
| MD5 |
86ccd71e81c4c92e4d20dca60fb5315b
|
|
| BLAKE2b-256 |
ddcc4b9473c1934ecda0cb32a52b62b5f25af968b778354769e321b2571266ed
|
File details
Details for the file latta_django_recorder-0.1-py3-none-any.whl.
File metadata
- Download URL: latta_django_recorder-0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d885344f5d7456a60a24e2de7d2d6f36c6ea0ac877652553bd88443d3e7defe
|
|
| MD5 |
01ad8267d97670bb7034d791689d06ef
|
|
| BLAKE2b-256 |
da02442339c381cd7d7fdc6c1923f4768294acc547c48c1c0e8eb6a0ec6a8729
|