Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alig1493 committed Nov 11, 2018
1 parent cc6c4f8 commit b71b1fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions simple_history/manager.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import unicode_literals

from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from django.utils.timezone import now


Expand Down Expand Up @@ -46,7 +45,7 @@ def most_recent(self):
excluded_fields = []

if isinstance(self.instance._meta.model.history, self.__class__):
excluded_fields = python_2_unicode_compatible(
excluded_fields = (
self.instance._meta.model.history.model._history_excluded_fields
)

Expand Down

0 comments on commit b71b1fb

Please sign in to comment.