forked from rockstor/rockstor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use user.is_authenticated as an attribute rockstor#2664
Prior to Django 1.10, user.is_authenticated() was a method. Since then, compatibility was ensured but this compatibility will be removed in Django 2.0. This commit thus moves to using the user.is_authenticated attribute instead.
- Loading branch information
1 parent
3f87942
commit f84771e
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters