fixed is_authenticated error

This commit is contained in:
Asif Saif Uddin 2018-09-03 14:13:10 +06:00
parent 6263f2a340
commit 2091f9649d

View file

@ -35,7 +35,7 @@ def is_authenticated(request, view, obj=None):
'''
Checks if the current user is authenticated.
'''
return request.user.is_authenticated()
return request.user.is_authenticated
def is_staff(request, view, obj=None):