text: Writing your first Django app, part 3¶
  This tutorial begins where Tutorial 2 left off. We’re continuing the Web-poll application and will focus on creating the public interface – “views.”
  Philosophy.core.urlresolvers for more information. url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), ]
  The next step is to point the root URLconf at the
  polls.urls module. In
  mysite/urls.py. Go to in your browser, and you should see the text
  “Hello, world. You’re at the polls index.”, which you defined in the
  index view.
  The
  url() function is passed four arguments, two
  required:
  regex and
  view, and two optional:
  kwargs, and
  name.
  At this point, it’s worth reviewing what these arguments are for.
  url() argument: regex¶).
  url() argument: view¶.
  url() argument: kwargs¶
  Arbitrary keyword arguments can be passed in a dictionary to the target view. We aren’t going to use this feature of Django in the tutorial.(. include, url from django.contrib import admin urlpatterns = [ url(r'^polls/', include('polls.urls', namespace="polls")), url(r'^admin/', include(admin.site.urls)), ].