Skip to content

Commit

Permalink
Treat manager like an old-style class
Browse files Browse the repository at this point in the history
  • Loading branch information
macro1 committed Oct 31, 2014
1 parent c2c9101 commit c5ed822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_history/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __get__(self, instance, owner):
return HistoryManager(self.model, instance)


class HistoryManager(models.Manager):
class HistoryManager(models.Manager, object):
def __init__(self, model, instance=None):
super(HistoryManager, self).__init__()
self.model = model
Expand Down

0 comments on commit c5ed822

Please sign in to comment.