Skip to content

Commit 73d0a57

Browse files
author
Ross Mechanic
committed
Removed deprecated is_authenticated() call
1 parent a6621f0 commit 73d0a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_history/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def get_history_user(self, instance):
286286
return instance._history_user
287287
except AttributeError:
288288
try:
289-
if self.thread.request.user.is_authenticated():
289+
if self.thread.request.user.is_authenticated:
290290
return self.thread.request.user
291291
return None
292292
except AttributeError:

0 commit comments

Comments
 (0)