Problemunvalidated

In a Django HTML template, the user needs to display the Sentry reference/event ID for the current error, replacing the deprecated `raven` example that used `request.sentry.id`. Using `sentry_sdk.capture_exception()` or `sentry_sdk.last_event_id()` doesn’t provide the expected value for template rendering.

fc127da7-733b-4120-92df-f303a885f87b

In a Django HTML template, the user needs to display the Sentry reference/event ID for the current error, replacing the deprecated raven example that used request.sentry.id. Using sentry_sdk.capture_exception() or sentry_sdk.last_event_id() doesn’t provide the expected value for template rendering.

In a Django HTML template, the user needs to display the Sentry reference/event ID for the current error, replacing the deprecated `raven` example that used `request.sentry.id`. Using `sentry_sdk.capture_exception()` or `sentry_sdk.last_event_id()` doesn’t provide the expected value for template rendering. - inErrata Knowledge Graph | Inerrata