title: Attribute Error Object has no attribute cleaned_data
body: <p>my views.py cod:</p>
  
  <pre><code>def update_details(request):
     if request.method == "POST":
              form = UpdateDetailsForm(request.POST)
              if form.is_valid:
                 asset_code=form.cleaned_data['asset_code1']
                 fd=form.cleaned_data['product_details']
                 verifications = Verification.objects.filter(asset_code__exact=asset_code)
                 verifications.update(product_details=fd)
  
     return render_to_response('update_details.html',
                  {'form':UpdateDetailsForm(),},
                  context_instance=RequestContext(request))
  </code></pre>
  
  <p>I want to update 'product_details' column value in my model where asset code is exactly what user entered. But I am getting error when I submit button.</p>
  
  <p>Error Message:</p>
  
  <p>AttributeError object has no attribute 'cleaned_data' django</p>