Skip to main content
Project generated with PyScaffold

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/.

Release files for django-sentry-auto-setup 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-sentry-auto-setup 1.0.3
File Size Uploaded
django_sentry_auto_setup-1.0.3.tar.gz 23.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-sentry-auto-setup 1.0.3
File Interpreter ABI Platform
django_sentry_auto_setup-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / django_sentry_auto_setup-1.0.3.tar.gz

Download URL django_sentry_auto_setup-1.0.3.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49a2dca12265a50daa13608b741ba51381d1271acfbe964af036d6f75bf157c8
BLAKE2b-256 checksum
How to use checksums
1301ad8d97c056929098c6cbb0674d01acb171a41ecfb731f02cdd914d52ae0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / django_sentry_auto_setup-1.0.3-py3-none-any.whl

Download URL django_sentry_auto_setup-1.0.3-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91f05f5a7a75b43ac6b576ce2d4ee2165a1e1b8d94f948b60a400333553e2e09
BLAKE2b-256 checksum
How to use checksums
7328dd4ab8ccb6d1318c60c95b960085811209651999e8d23f7bd5e89e815a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page