Add a missed "object" change.

This commit is contained in:
Ben Sturmfels 2021-11-26 14:03:24 +11:00
parent 31e51a7742
commit 7b981fcb52
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -103,7 +103,7 @@ class ExternalArticle(models.Model):
date_created = models.DateField(auto_now_add=True)
class Meta:
class Meta(object):
ordering = ("-date_created",)
get_latest_by = "date_created"