diff --git a/main/postSection/migrations/__pycache__/0007_alter_post_image.cpython-310.pyc b/main/postSection/migrations/__pycache__/0007_alter_post_image.cpython-310.pyc index 78a9881e6cbcb7cf19016e3879a99b0bc5ab4e05..f75c05bc7b92e21c80ed3bf6a387d447e5ac0a8b 100644 Binary files a/main/postSection/migrations/__pycache__/0007_alter_post_image.cpython-310.pyc and b/main/postSection/migrations/__pycache__/0007_alter_post_image.cpython-310.pyc differ diff --git a/main/postSection/models.py b/main/postSection/models.py index 229e08557f6158b88c7af97a0039d70573cd64fb..b266e0895210e84f2a700fbf9261c0a0df9ffbc3 100644 --- a/main/postSection/models.py +++ b/main/postSection/models.py @@ -18,7 +18,8 @@ class post(models.Model): def __str__(self): - return self.id + #just needed to add this lil format thing here + return "{}".format(self.id) # class Meta: # indexes= [models.Index(fields=['id'])]