mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Remove dashses from displayed DSN
Fixes #7 I could not find any documentation on what the "standard" is, but I know that we'll pick it up just fine either way (because Django's UUID field does the magic for us). Given that it's impossible to setup your JS client with the dashes, they should simply be removed.
This commit is contained in:
@@ -76,7 +76,7 @@ class Project(models.Model):
|
||||
|
||||
@property
|
||||
def dsn(self):
|
||||
return build_dsn(get_settings().BASE_URL, self.id, self.sentry_key)
|
||||
return build_dsn(get_settings().BASE_URL, self.id, self.sentry_key.hex)
|
||||
|
||||
def get_latest_release(self):
|
||||
from releases.models import ordered_releases
|
||||
|
||||
Reference in New Issue
Block a user