Python from django.contrib.auth.views import logout ImportError: cannot import name 'logout' : <p>I have configured my python env with python 3.5, but I am getting the following error when I run my server with the command <code>python manage.py runserver</code></p>

<pre><code>from django.contrib.auth.views import logout
ImportError: cannot import name 'logout'
</code></pre>

<p>this is my config</p>

<pre><code>dj-database-url==0.5.0
Django==2.1a.1
gunicorn==19.8.1
numpy==1.14.3
psycopg2==2.7.4
pytz==2018.4
whitenoise==4.0b4
</code></pre>

<p>I tried reinstalling my env and changing python version but issue stills happening.</p>

<p>Thanks for your questions guys</p>
