Please update the "urls.py" file as in newer versions of django, it's auth_login and auth_logout instead of login and logout. When I try to include the urls in my project I got this error:
AttributeError: module 'django.contrib.auth.views' has no attribute 'login'.