title: How to set default value for FloatField in django model
body: <p>How can I set a default value for <code>FloatField</code> in django.</p>
  
  <p>Initially when I had created the model and declared the float field as:</p>
  
  <pre><code>cost = models.FloatField(null=True, blank=True)
  </code></pre>
  
  <p>and db also created successfully through south migration.</p>
  
  <p>But now when I am trying to do edit on that field using the html form, and no value is entered in the cost field, in the form  its throwing <code>value error</code>.
  Thus I think if I can set a default value for cost field it may fix the problem.</p>
  
  <p>But I don't know how to set a default value for <code>FloatField</code> in <code>django</code>.</p>