title: AttributeError: 'module' object has no attribute 'index'
body: <p>I am trying the tutorial and m stuck on views. 
  It says "AttributeError: 'module' object has no attribute 'index'"</p>
  
  <p>My project/urls.py says</p>
  
  <pre><code>from django.conf.urls import patterns, include, url
     from django.contrib import admin
     admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^polls/', include('polls.urls')),
      url(r'^admin/', include(admin.site.urls)),
  )
  </code></pre>
  
  <p>In Views.py:</p>
  
  <pre><code>def index(request):
  request HttpResponse("Hello, world. You're at the poll index.")
  </code></pre>
  
  <p>In app urls.py:</p>
  
  <pre><code>from django.conf.urls import patterns, url
  from polls import views
  
  ultrapatterns = patterns('', 
  url(r'^$', views.index, name='index')
  )
  </code></pre>
  
  <p>Kind advise is required with some short explanation so I can understand it.</p>