title: ImportError: cannot import name 'patterns'
body: <p>I have a problem with Django, I created a 'login' app and added the URL on mysite/urls.py as below:</p>
  
  <pre><code>from django.conf.urls import include, patterns, url
  from django.contrib import admin
  from django.urls import path
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      url(r'^polls/', include('polls.urls')),
      url(r'^user-auth/', include('user_auth.urls')),
      url(r'^file-upload/', include('file_uploader.urls')),
      url(r'^pagination/', include('pagination.urls')),
  
      patterns('login.views',
      url(r'^login/', 'loginView'),
      url(r'^greeting/', 'formView'),
      url(r'^logout/', 'logoutView')
  )   
  ]
  </code></pre>
  
  <p>However, when I started the server, I received the message on console as:</p>
  
  <pre><code>File "/home/win/Python/mysite/mysite/urls.py", line 16, in &lt;module&gt;
      from django.conf.urls import include, patterns, url
  ImportError: cannot import name 'patterns'
  </code></pre>
  
  <p>Do you meet any problem like this? and any resolution do you have to resolve it.
  Please please help me.
  Thanks</p>