diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-30 14:45:05 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-30 14:45:05 -0600 |
commit | 025042ef0d23378a5f10fe1cff8f660f51638615 (patch) | |
tree | a05d09566c2fd320fbfa5c72e210f047e79ebc26 /devel/models.py | |
parent | 7c84bea7dabdfbc307d373620b00214777d91a97 (diff) |
Master keys: reduce query count, add default orderingrelease_2011-11-30
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/models.py')
-rw-r--r-- | devel/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/models.py b/devel/models.py index ea0f4d55..f31b8fbb 100644 --- a/devel/models.py +++ b/devel/models.py @@ -14,4 +14,7 @@ class MasterKey(models.Model): created = models.DateTimeField() revoked = models.DateTimeField(null=True, blank=True) + class Meta: + ordering = ('created',) + # vim: set ts=4 sw=4 et: |