title: module 'django.contrib.auth.views' has no attribute 'login'
body: <p>I run : python manage.py migrate and have this error
  <em>I assume that for this version of Django you need to rewrite the code, but I don’t understand how.</em>
  DJANGO 2.2
      module 'django.contrib.auth.views' has no attribute 'login'</p>
  
  <p><em>I assume that for this version of Django you need to rewrite the code, but I don’t understand how.</em></p>
  
  <p>Here is my code:</p>
  
  <pre><code>File
  url.py
  
  [from django.conf.urls import url, include
  from django.contrib import admin
  from KisEats3app import views
  from django.contrib.auth import views as auth_views
  
  from django.conf.urls.static import static
  from django.conf import settings
  
  urlpatterns = \[
      url(r'^admin/', admin.site.urls),
      url(r'^$', views.home, name='home'),
  
       Restaurant
      url(r'^restaurant/sign-in/$', auth_views.login,
          {'template_name': 'restaurant/sign_in.html'},
          name = 'restaurant-sign-in'),
      url(r'^restaurant/sign-out', auth_views.logout,
          {'next_page': '/'},
          name = 'restaurant-sign-out'),
      url(r'^restaurant/sign-up', views.restaurant_sign_up,
          name = 'restaurant-sign-up'),
      url(r'^restaurant/$', views.restaurant_home, name = 'restaurant-home'),
  
       Sign In/ Sign Up/ Sign Out
      url(r'^api/social/', include('rest_framework_social_oauth2.urls')),
       /convert-token (sign in/ sign up)
       /revoke-token (sign out)
  \] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)][1]
  </code></pre>