Skip to content

Commit

Permalink
Fixed jazzband#7 - Use the same app_label in the historical record mo…
Browse files Browse the repository at this point in the history
…del.
  • Loading branch information
Matthew Ghantous committed Apr 12, 2013
1 parent d5d738f commit eca04d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def get_meta_options(self, model):
"""
return {
'ordering': ('-history_date', '-history_id'),
'app_label': model._meta.app_label,
}

def post_save(self, instance, created, **kwargs):
Expand Down

0 comments on commit eca04d2

Please sign in to comment.