title: Django form request method is always GET
body: <p>This is the html code:</p>
  <pre><code>    &lt;form method='POST'&gt;{% csrf_token %}
      {{ form.as_p }}
      &lt;input type='submit' value='save'/&gt;
  &lt;/form&gt;
  </code></pre>
  <p>This is the path in url.py:</p>
  <pre><code>path('student/create/', student_create_view, name='student-create')
  </code></pre>
  <p>This is my code in views.py:</p>
  <pre><code>def student_create_view(request):
  form = StudentForm(request.POST or None)
  if form.is_valid():
      form.save()
      form = StudentForm
  context = {
      'form': form
  }
  return render(request, &quot;personnel/student_create.html&quot;, context)
  </code></pre>
  <p>I also tried using action attribute and adding or removing &quot;/&quot; to the end of the path.</p>