From 507c1b7349a03fc7a0939f26d7b4805a714d7c1c Mon Sep 17 00:00:00 2001 From: jhyns Date: Tue, 20 Jun 2023 19:01:19 +0900 Subject: [PATCH] Change Image model ordering --- market/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/market/models.py b/market/models.py index a4fbd15..fad9066 100644 --- a/market/models.py +++ b/market/models.py @@ -55,7 +55,7 @@ class Image(models.Model): image = models.ImageField(upload_to="images", blank=True, null=True) class Meta: - ordering = ["-pk"] + ordering = ["pk"] def __str__(self): return f"{self.post}"