title: TypeError: view must be a callable or a list/tuple when including another urls.py
body: <p>I’ve read carefully the several other questions that cover this topic, however, none depict the case of include() (including another urls.py file).  I’ve also looked at 1.11 documentation <a href="https://docs.djangoproject.com/en/1.11/topics/http/urls/#url-dispatcher" rel="nofollow noreferrer">here</a> and coded in accordance, however, I continually get the error “TypeError: view must be a callable or a list/tuple in the case of include().”  Tried just about every derivation of this and the other two answers to no avail.  Where is my mistake/misunderstanding?</p>
  
  <p>urls.py</p>
  
  <pre><code>from django.contrib import admin
  from django.conf.urls import include, url
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^atfl/', include('atfl.urls'), namespace="atfl"),
  ]
  </code></pre>
  
  <p>Code in atfl/urls.py</p>
  
  <pre><code>from django.conf.urls import url
  from atfl.views import home, people
  
  urlpatterns = [
      url(r'^$', 'home', name='home'),
      url(r'^people/$', 'people', name='people'),
  ]
  </code></pre>
  
  <p>Code in atfl/views.py</p>
  
  <pre><code>from django.shortcuts import render_to_response
  
  def index(request):
      return render_to_response('atfl/home.html', {})
  
  def LoadTextFile(request):
      return render_to_response("atfl/people.html", {})
  </code></pre>