title: Django is_valid() missing 1 required positional argument: 'self'
body: <p>I'm trying to build a website using Django 1.10.5. At the moment I'm working on a way to edit the database objects in the frontend. My plan was to define a form 'EditForm', where the user enters the ID of the object he wants to edit. When I'm testing only that form on the real site to see if I can submit something, I'm getting the following error: 'is_valid() missing 1 required positional argument: 'self''. I can't find my error in the code so thanks in advance for any help or ideas.</p>
  
  <p>from my views.py:</p>
  
  <pre><code>def mymodel_test(request,):
  form = EditForm
  if request.method == 'POST':
      if form.is_valid():
          temp_id = form(request.POST)
  return render(request, 'mymodel_test.html', {
      "Title": "Test",
      "form": form
  })
  </code></pre>
  
  <p>EditForm in the forms.py:</p>
  
  <pre><code>class EditForm(forms.Form):
  id = forms.IntegerField(label='Edit object with following ID')
  </code></pre>
  
  <p>mymodel_test.html:</p>
  
  <pre><code>{% extends "base.html" %}
  {% block content %}
  &lt;form method="post" action=""&gt;
  {% csrf_token %}
  &lt;table&gt;
  {{ form }}
  &lt;/table&gt;
  &lt;input type="submit" value="Edit"/&gt;
  &lt;/form&gt;
  {% endblock %}
  </code></pre>