This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add is_authenticated and is_anonymous properties
See https://docs.djangoproject.com/en/1.10/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods is_anonymous() and is_authenticated() functions are now properties, and throw critical security warnings when using python manage.py check in django 1.10 The duplication is just to make it explicit which code paths are being followed. They could be refactored to remove it, but in a few months when we move to the next LTS we would just end up removing the refactors since there would once again be a single path. We also removed the `margin` parameter, since it is never used anywhere. This will be documented in a Horizon release note. Change-Id: I7a92089ae62a9017274002648f26f13bc34709d9
- Loading branch information
Rob Cresswell
committed
Sep 16, 2016
1 parent
cec7a02
commit 0034688
Showing
1 changed file
with
46 additions
and
29 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