title: Auto Fill ModelForm with data already stored in database
body: <p>I got a form as shown below and I want it to be filled with information from the database when its HTML is rendered. I am passing the id of the Coworker as a parameter for the view.</p>
  
  <p>See code below:</p>
  
  <p><strong>view.py</strong></p>
  
  <pre><code>def EditCoworker(request, id):
      form = FormEditCoworker(Coworkers.objects.get(id=id))
      if request.method == "POST":
          form = FormEditCoworker(request.POST)
          if form.is_valid():
              form.save()
              confirmation_message = "Coworker information updated successfully!"
              return render(request, "coworkers/coworkers.html", locals())
          else:
              return render(request, "coworkers/edit_coworker.html", locals())
      return render(request, 'coworkers/edit_coworker.html', locals())
  </code></pre>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>class FormEditCoworker(ModelForm):
      class Meta:
          model = Coworkers
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>url(r'^edit_coworker/(?P&lt;id&gt;[\d]+)$', views.EditCoworker),
  </code></pre>
  
  <p>Of course the code in my views.py is not right.</p>
  
  <p>Can someone help me on this?</p>
  
  <p>Thanks in advance!</p>