Skip to content

Commit

Permalink
Merge fe406c3 into 04888fe
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven committed Dec 27, 2014
2 parents 04888fe + fe406c3 commit 2ad8004
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changes
=======

1.5.x (YYYY-MM-DD)
------------------
- Add support for ``latest``

1.5.3 (2014-11-18)
------------------
- Fix migrations while using ``order_with_respsect_to`` (gh-140)
Expand Down
1 change: 1 addition & 0 deletions simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def get_meta_options(self, model):
"""
meta_fields = {
'ordering': ('-history_date', '-history_id'),
'get_latest_by': ('history_date',),
}
if self.user_set_verbose_name:
name = self.user_set_verbose_name
Expand Down

0 comments on commit 2ad8004

Please sign in to comment.