From 3b28eafc820ef6bf6e3acebacde06daa78d78b02 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 31 Dec 2019 16:33:43 +0000 Subject: [PATCH] Order RIGSVersions by date --- RIGS/versioning.py | 1 + 1 file changed, 1 insertion(+) diff --git a/RIGS/versioning.py b/RIGS/versioning.py index 795ea9fe..102756ab 100644 --- a/RIGS/versioning.py +++ b/RIGS/versioning.py @@ -174,6 +174,7 @@ class RIGSVersionManager(VersionQuerySet): class RIGSVersion(Version): class Meta: proxy = True + ordering = ['-date_created'] objects = RIGSVersionManager.as_manager()