title: TypeError: view must be a callable or a list/tuple in the case of include()
body: <p>I am new to django and python. During url mapping to views i am getting following error: 
  TypeError: view must be a callable or a list/tuple in the case of include().</p>
  
  <p>Urls. py code:-</p>
  
  <pre><code>from django.conf.urls import url
  from django.contrib import admin
  
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^posts/$', "posts.views.post_home"), #posts is module and post_home 
  ]                                              # is a function in view. 
  </code></pre>
  
  <p>views.py code:-</p>
  
  <pre><code>from django.shortcuts import render
  from django.http import HttpResponse
  # Create your views here.
  #function based views
  
  def post_home(request):
      response = "&lt;h1&gt;Success&lt;/h1&gt;"
      return HttpResponse(response)
  </code></pre>
  
  <p><strong>Traceback</strong></p>
  
  <p><a href="https://i.stack.imgur.com/NWbLo.png"><img src="https://i.stack.imgur.com/NWbLo.png" alt="enter image description here"></a></p>