diff --git a/edxval/models.py b/edxval/models.py index c62113e3..7e2e06bf 100644 --- a/edxval/models.py +++ b/edxval/models.py @@ -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): diff --git a/setup.py b/setup.py index 62bad0e7..2945b640 100644 --- a/setup.py +++ b/setup.py @@ -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:")