mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
fixed is_authenticated error
This commit is contained in:
parent
6263f2a340
commit
2091f9649d
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue