Skip to content

Commit 1ffdaa6

Browse files
committed
removed double '/' from admin link
1 parent 95c42ea commit 1ffdaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/gsmap/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def get_absolute_link(self):
158158

159159
def get_absolute_url(self):
160160
first_id = self.snapshots.all().first().id
161-
return f'/{self.id}/{first_id}/'
161+
return f'{self.id}/{first_id}/'
162162

163163

164164
def save(self, *args, **kwargs):

0 commit comments

Comments
 (0)