Skip to content

Commit

Permalink
Fix __str__ function for EncodedVideo (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-amir committed Apr 14, 2020
1 parent 03e6b38 commit 13815a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edxval/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class EncodedVideo(models.Model):
video = models.ForeignKey(Video, related_name="encoded_videos", on_delete=models.CASCADE)

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


class CustomizableImageField(models.ImageField):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def load_requirements(*requirements_paths):
return list(requirements)


VERSION = '1.3.0'
VERSION = '1.3.1'

if sys.argv[-1] == 'tag':
print("Tagging the version on github:")
Expand Down

0 comments on commit 13815a8

Please sign in to comment.