title: how to switch to path instead of url in urlpatterns [django]
body: <p>django noobie. ive been going through tutorials but in urlpatterns they use url instead of path which is now introduced in django 2.0
  i want to make /appname/anything-gibberish take the user back to the view im giving in /appname/</p>
  
  <pre><code>urlpatterns = [
      path('', views.index, name='index'),
      path('contact/', views.contact, name='contact'),
  ]
  </code></pre>
  
  <p>i want 127.0.0.1:8000/contact/asaskhask to go to views.contact
  is there any way to do this without using url and regular expression?</p>