Skip to content

Commit

Permalink
feat(python): Declare Django 5.0 support (#8481)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Nov 23, 2023
1 parent a84602f commit 02df411
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/platforms/python/integrations/django/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ redirect_from:
description: "Learn about using Sentry with Django."
---

Sentry's [Django](https://www.djangoproject.com/) integration adds support for the Django Framework. It enables automatic reporting of errors and exceptions as well as performance monitoring. In order to get started using the integration, you should have a [Sentry account](https://sentry.io) and a project set up.
Sentry's [Django](https://www.djangoproject.com/) integration adds support for the Django framework. It enables automatic reporting of errors and exceptions as well as performance monitoring. In order to get started using the integration, you should have a [Sentry account](https://sentry.io) and a project set up.

<Note>

If you're using Python 3.7., Django applications with Channels 2.0 will be correctly instrumented. Older versions of Python will require the installation of [aiocontextvars](https://pypi.org/project/aiocontextvars/).
If you're using Python 3.7, Django applications with `channels` 2.0 will be correctly instrumented. Older versions of Python will require the installation of [aiocontextvars](https://pypi.org/project/aiocontextvars/).

</Note>

Expand Down Expand Up @@ -123,7 +123,7 @@ You can pass the following keyword arguments to `DjangoIntegration()`:

- `signals_spans`:

Create spans and track performance of all [Django signals](https://docs.djangoproject.com/en/dev/topics/signals/) receiver functions in your Django project. Set to `False` to disable.
Create spans and track performance of all synchronous [Django signals](https://docs.djangoproject.com/en/dev/topics/signals/) receiver functions in your Django project. Set to `False` to disable.

The default is `True`.

Expand All @@ -139,3 +139,4 @@ You can pass the following keyword arguments to `DjangoIntegration()`:
- Django 2.x (Python: 3.5+)
- Django 3.x (Python: 3.6+)
- Django 4.x (Python: 3.8+)
- Django 5.x (Python: 3.10+)

1 comment on commit 02df411

@vercel
Copy link

@vercel vercel bot commented on 02df411 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

docs.sentry.io
sentry-docs-git-master.sentry.dev
sentry-docs.sentry.dev

Please sign in to comment.