Skip to content

Commit

Permalink
fixed __str__ int concat bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dabslee committed Aug 25, 2021
1 parent 480295d commit ebe677c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forum/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ class Submission(models.Model):
submit_datetime = models.DateTimeField(auto_now_add=True, blank=True)

def __str__(self):
return self.assignment.title + " [submission] id: " + self.id
return self.assignment.title + " [submission] id: " + str(self.id)

0 comments on commit ebe677c

Please sign in to comment.