Skip to content

Commit

Permalink
DBC22-1906: fixed __str__ returning int
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed Apr 29, 2024
1 parent 9275bf0 commit 16d6aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/apps/shared/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def save(self, *args, **kwargs):
super().save(*args, **kwargs)

def __str__(self):
return self.pk
return str(self.pk)


class RouteGeometry(models.Model):
Expand Down

0 comments on commit 16d6aff

Please sign in to comment.