Skip to content

Commit

Permalink
Order RIGSVersions by date
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Dec 31, 2019
1 parent ca82538 commit 3b28eaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RIGS/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def get_for_multiple_models(self, model_array):
class RIGSVersion(Version):
class Meta:
proxy = True
ordering = ['-date_created']

objects = RIGSVersionManager.as_manager()

Expand Down

0 comments on commit 3b28eaf

Please sign in to comment.