We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6621f0 commit 73d0a57Copy full SHA for 73d0a57
simple_history/models.py
@@ -286,7 +286,7 @@ def get_history_user(self, instance):
286
return instance._history_user
287
except AttributeError:
288
try:
289
- if self.thread.request.user.is_authenticated():
+ if self.thread.request.user.is_authenticated:
290
return self.thread.request.user
291
return None
292
0 commit comments