Update use of is_authenticated and is_anonymous.

Review Request #11924 — Created Jan. 11, 2022 and submitted

Information

Review Board
release-4.0.x

Reviewers

Django has changed User.is_authenticated and User.is_anonymous to be
attributes instead of methods. These are currently available with a
fallback, but that's going away in Django 2.0+. This change updates our
usage to use the new syntax.

Ran unit tests.

Summary ID
Update use of is_authenticated and is_anonymous.
Django has changed `User.is_authenticated` and `User.is_anonymous` to be attributes instead of methods. These are currently available with a fallback, but that's going away in Django 2.0+. This change updates our usage to use the new syntax. Testing Done: Ran unit tests.
8dd3f53e6ae2209e30f8748d786a43fc29ab0a49
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (071e5e9)
Loading...