title: Form submission not working in Django 1.11 with python 2.7
body: <p>Am new to Django . I have python2.7 and django 1.11 version , I was able to display a home page etc. But when trying to create a form and submitting its not redirecting to any page</p>
  <p>url.py</p>
  <pre><code>from django.conf.urls import include
  from . import views
  from django.conf.urls import url
      
  urlpatterns = [
      url(&quot;&quot;,views.home, name=&quot;home&quot;),
      url(&quot;add&quot;,views.add,name=&quot;add&quot;)
  ]
  </code></pre>
  <p>home.html</p>
  <pre><code>{%extends 'base.html' %}
  {%block content %}
  
  &lt;H1&gt;  hello world 2 {{name}} &lt;/H2&gt;
  
  &lt;form action=&quot;/add&quot;&gt;
      Enter 1st number : &lt;input type=&quot;text&quot; name = &quot;num1&quot;&gt;&lt;br&gt;
      Enter 2nd number : &lt;input type=&quot;text&quot; name = &quot;num2&quot;&gt;&lt;br&gt;
  &lt;input type = &quot;submit&quot;&gt;
  &lt;/form&gt;
  </code></pre>
  <p>views.py</p>
  <pre><code># -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.shortcuts import render
  from django.http import HttpResponse
  # Create your views here.
  def home(request):
      x = ' Hello World'
      return render(request,'home.html',{'name' : 'Test  Name'} )
      # return HttpResponse(x)
  def add(request):
      print('testing')
      val1 = request.GET['num1']
      val2 = request.GET['num2']
      res = val1 + val2
      print(res)
      return render(request,&quot;results.html&quot;,{'result' : res})
  </code></pre>
  <p>results.html  is a test page. Once I click submit its not displaying any thing on the results page . Is there anything wrong in url.py</p>