8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d16d3 commit ca2d527Copy full SHA for ca2d527
sentry_sdk/integrations/django/__init__.py
@@ -21,22 +21,6 @@
21
from django.utils.datastructures import MultiValueDict # type: ignore
22
from typing import List
23
24
-try:
25
- import psycopg2.sql # type: ignore
26
-
27
- def sql_to_string(sql):
28
- # type: (Any) -> str
29
- if isinstance(sql, psycopg2.sql.SQL):
30
- return sql.string
31
- return sql
32
33
34
-except ImportError:
35
36
37
38
39
40
41
try:
42
from django.urls import resolve # type: ignore
0 commit comments