title: Django Form Submission Error
body: <p>I have this recurring problem with form submission in Django, and the frustrating part is that I'm not sure how to interpret what's happening. Essentially I have different pages with form submissions on them. Some of them work as following</p>
  
  <pre><code>localhost/page/formpage--&gt; localhost/page/receivingpage
  </code></pre>
  
  <p>which is what I expect. Othertimes, it goes to a page like this</p>
  
  <pre><code>localhost/page/formpage--&gt; localhost/page/formpage/recevingpage
  </code></pre>
  
  <p>and the screen shows a blank form page, which is not what I expect. I'm not sure how to interpret this, and I'm not sure where to look for errors in my code. I think I don't fully understand what's going on when I submit a form, how does it generate a URL after I press 'submit'? </p>
  
  <p>Edit: here is my html form:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;div&gt;
  &lt;p&gt;Entry Form&lt;/p&gt;
  &lt;form action= "user" method="post" &gt;
  {% csrf_token %}
  &lt;p&gt;&lt;label for="id_username"&gt;Username:&lt;/label&gt;
      &lt;input id="id_username" type="text" name="username"" /&gt;&lt;/p&gt;
  &lt;p&gt;&lt;label for="id_password"&gt;Password&lt;/label&gt;
      &lt;input type="password" name="password" id="id_password" /&gt;&lt;/p&gt;
  &lt;input type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  
  &lt;/div&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I suspect it isn't the form, I have it on another application and it works... the trouble is I don't know if it's the view, the template, or w/e, so I'll update the post with info as people request it.</p>