Handsfree setup of your Django project inside of Sentry!
Project description
django-sentry-auto-setup
Handsfree setup of your Django project inside of Sentry!
Tired of setting up Sentry by hand? Me too! So here is a little package that quickly sets up a Django project automatically.
Install
pip install django-sentry-auto-setup
Configure
Set these values in your environment or your Django settings file:
SENTRY_AUTH_TOKEN SENTRY_ENABLE_AUTO_SETUP SENTRY_HOST # Include the protocal (ex https://) SENTRY_ORGANIZATION_SLUG SENTRY_PROJECT_NAME SENTRY_PROJECT_SLUG SENTRY_TEAM_SLUG
If you need to further configure the Sentry SDK also set this in Django settings:
SENTRY_SDK_KWARGS
Finally, add this to your settings file
INSTALLED_APPS = [
...
'coco.dev.django_sentry',
...
]
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes:
pip install pre-commit cd django-sentry-auto-setup pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Don’t forget to tell your contributors to also install and use pre-commit.
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
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 django_sentry_auto_setup-1.0.2.tar.gz.
File metadata
- Download URL: django_sentry_auto_setup-1.0.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d32b56b5b1b52bf4ef55bdcf9b965906caa3000626ab4bf9bdd444712e31e3e
|
|
| MD5 |
9f6c7dd8396cb65f5ca226c216a2b897
|
|
| BLAKE2b-256 |
ba2fdbdd473326c8d21e2837424c7c65aab15dfdcb55b7eefebd658d1d4b078e
|
File details
Details for the file django_sentry_auto_setup-1.0.2-py3-none-any.whl.
File metadata
- Download URL: django_sentry_auto_setup-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7c117107b532f4d47775dbb4f59ac992b3dd3dc55e9159a9e9ef3de92bbc8c2
|
|
| MD5 |
124afcfcb55e8e67d2bf7af21d6049b1
|
|
| BLAKE2b-256 |
8e38e5a2acc6a1b49a488fdeb9d54606fb6a1f6f0f768f8cefd32fa4ad847b7f
|