diff options
author | Dan McGee <dan@archlinux.org> | 2012-12-05 04:59:29 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-12-05 04:59:29 +0100 |
commit | 4c699119820dfd060de6a0385e549f3397053548 (patch) | |
tree | 29ef541a8cbd7114a06218f2569d1908cdea0a7e /main | |
parent | f7fe73eff01195d3b2d8cd7898e48384d331e12e (diff) | |
download | archweb-4c699119820dfd060de6a0385e549f3397053548.tar.gz archweb-4c699119820dfd060de6a0385e549f3397053548.tar.xz |
get_latest_by cleanups
Fix some that referenced non-existent attributes, and add the attribute
to other models.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r-- | main/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py index 603d7cc..8e705c5 100644 --- a/main/models.py +++ b/main/models.py @@ -46,7 +46,7 @@ class Donor(models.Model): class Meta: db_table = 'donors' ordering = ('name',) - get_latest_by = 'when' + get_latest_by = 'created' class Arch(models.Model): |