Use User.is_authenticated as attribute
commit9ba7c51fea8f9c1d1c960ddccd3608d348543a0e
authorStefan Kögl <stefan@skoegl.net>
Sat, 24 Jun 2017 01:19:28 +0000 (23 21:19 -0400)
committerStefan Kögl <stefan@skoegl.net>
Sat, 24 Jun 2017 01:19:28 +0000 (23 21:19 -0400)
tree9da62c2b72cddc50e8843b3ff95f834289721c79
parentf6d647d0d52dcd2d3697547b9d92ea5f37917001
Use User.is_authenticated as attribute

Access as method is deprecated as per
https://docs.djangoproject.com/en/dev/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
mygpo/administration/auth.py
mygpo/api/basic_auth.py
mygpo/directory/views.py
mygpo/podcasts/views/episode.py
mygpo/podcasts/views/podcast.py
mygpo/publisher/auth.py
mygpo/publisher/utils.py
mygpo/users/views/user.py
mygpo/web/views.py