You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While moving a project from raven-python to sentry-python I noticed, that there is no documentation (and maybe implementation?) for the template tag {% sentry_public_dsn %}.
It was available in raven-python - I found it to be quiet handy.
I hope I am not missing something - or is there a reason that this wasn't implemented?
The text was updated successfully, but these errors were encountered:
No particular reason except prioritization of features (this is one of the features that is just easy enough to implement yourself, which is why we've deprioritized it).
Also I personally am unsure if that template tag should just magically become available if somebody runs sentry_sdk.init
@SteinRobert we will no longer add this tag because it's no longer needed. The SDK now accepts a public DSN now so if you do want to use the same DSN you can pass it to the template in the render page by passing the DSN from the client options or something to that effect:
Secondly that tag encouraged users to configure the frontend javascript with the backend dsn as it was available even on non user feedback pages and that is a pattern we do not want users to use.
While moving a project from raven-python to sentry-python I noticed, that there is no documentation (and maybe implementation?) for the template tag
{% sentry_public_dsn %}
.It was available in raven-python - I found it to be quiet handy.
I hope I am not missing something - or is there a reason that this wasn't implemented?
The text was updated successfully, but these errors were encountered: