title: Django - Pass a <select> form POST data from one view to another
body: <p>I am trying to pass data that I collected from a  form, onto another page. I am a beginner at Django and still don't understand POST and GET. </p>
  
  <p>I've been trying to solve this issue for the past few days, but I keep running in circles. I am assuming this is a rather simple issue, but I just don't know what's going on.</p>
  
  <p>I want to have it that on my select interest view, once I click on submit will send the selected interest to another view called select discipline. I want to be able to use that selected interest in my select_discipline view.</p>
  
  <p>views.py</p>
  
  <pre><code>@login_required
  def select_interest(request):
      context = RequestContext(request)
      interests = Interest.objects.order_by('name')
  
      return render_to_response('selectinterest.html', {'interests': interests, 'disciplines': disciplines }, context )
  
  @login_required
  def select_discipline(request):
  
  
      interest = request.POST.get('interest-select')
      context = RequestContext(request)
      interests = Interest.objects.order_by('name')
      disciplines = Discipline.objects.filter(parentInterest = interest)
  
      return render('selectdiscipline.html', {'interest': interest, 'interests': interests, 'disciplines': disciplines }, context )
  </code></pre>
  
  <p>selectinterest.html</p>
  
  <pre><code>&lt;div class = "container"&gt;
    &lt;h1&gt;Change Primary Interest&lt;/h1&gt;
  
    &lt;form action="{% url 'myapp:select_discipline' %}" method="POST" id="interest-select"&gt;
      {% csrf_token %}
      &lt;select title="interest-select" id="usrInterest"&gt;
        &lt;option disabled selected&gt; -- select an option -- &lt;/option&gt;
        {% for i in interests %}
        &lt;option name = "interest" value={{i.id}}&gt;{{i.name}}&lt;/option&gt;
        {% endfor %}
  
      &lt;/select&gt; --&gt;
      &lt;input type="submit" value="Load Disciplines"/&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>