title: Need to trigger a script accepting Django form Text field values as parameter
body: <p>I am very new to Django. I have a script for which i am planning to make a Web APP.
  I require some of values to be passed through HTML form action method into my python script. and the script output to be shown in same page or different page.
  Example script:</p>
  
  <pre><code>a={{get-val1-from form}}
  b={{get-val2-from-form}}
  def add(a,b):
      return (a+b)
  </code></pre>
  
  <p>My HTML form will look like :</p>
  
  <pre><code>&lt;form action="/"&gt;
    &lt;fieldset&gt;
      &lt;legend&gt;Input Requirements&lt;br&gt;&lt;/legend&gt;
      &lt;p&gt;
        &lt;label&gt;Value A:&lt;br&gt;&lt;/label&gt;
        &lt;input type="text" name="val1" value=""&gt;
      &lt;/p&gt;
      &lt;p&gt;
        &lt;label&gt;Value B:&lt;br&gt;&lt;/label&gt;
         &lt;input type="text" name="val2" value=""&gt;
      &lt;/p&gt;
      &lt;p&gt;
        &lt;button id="Submit" &gt; Analyze
               &lt;/button&gt;
      &lt;/p&gt;       
      &lt;p&gt;
        &lt;label&gt;Result : &lt;br&gt;&lt;/label&gt;
        &lt;textarea id="out_string"&gt; {{out_string}}
        &lt;/textarea&gt;
    &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I want to implement it through Django, kindly let me know the way out using views templates. Thanks in advance..</p>