AttributeError - module 'django.http.request' has no attribute 'META'
<p>I got this error, but I've done exactly the same:</p>

<blockquote>
  <p>AttributeError at /courses/
     module 'django.http.request' has no attribute 'META'</p>
</blockquote>

<p>The error is occuring in :</p>

<pre><code>from django.shortcuts import render
from django.http import request
from django.http import HttpResponse
from .models import Course

# Create your views here.
def course_list(response):
    courses = Course.objects.all()
    return render(request, 'courses/course_list.html',{'courses':courses})

#    output=', '.join([str(course) for course in courses])
#    return HttpResponse(output)
</code></pre>

<p>But the server shows no issues at all.</p>

<pre><code>Performing system checks...

System check identified no issues (0 silenced).
September 13, 2016 - 13:51:18
Django version 1.10.1, using settings 'learning_site.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
</code></pre>