title: Django: Generic views based 'as_view()' method
body: <p>I was working on an application wherein I created a generic <code>ListView</code>. Now, while defining that view in my <code>urls.py</code>, I read from the documentation that I need to use the <code>as_view()</code> method as follows:</p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  from .views import BlogIndex
  
  urlpatterns = patterns(
      '',
      url(r'^$', BlogIndex.as_view(), name="index"),
  )
  </code></pre>
  
  <p>Now, I didn't really understood what the documentation had to say about this method. Can someone shed some light into this concept?</p>