title: Method Not Allowed (GET): / in django
body: <pre><code>from django.views.generic import View
  from django.http import HttpResponse
  
  class home(View):
    def post(self,request):
      return HttpResponse('Class based view')
  </code></pre>
  
  <p>When I tried to define above method it says Method Not Allowed (GET): /  </p>
  
  <p>Can anyone please help me on this issue? </p>