(t) models.User.is_authenticated()
will be deprecated in Django 2.0
#2664
Milestone
models.User.is_authenticated()
will be deprecated in Django 2.0
#2664
When run using the Python warning flag (thanks @phillxnet!, #2655), we see the following warning:
Steps to reproduce
As this is used in our
home
, the easiest way to trigger this warning is to "fully refresh" any webpage. For instance, go to system>users and press Ctrl + Shift + R.Information
The warning itself is very clear and provides the solution. For background, we can have a look at the docs:
https://docs.djangoproject.com/en/1.11/ref/contrib/auth/#django.contrib.auth.models.User.is_authenticated
Our use
As per the log file, our only use of this now-attribute (was method) is in
home.py
:The text was updated successfully, but these errors were encountered: