title: Django 1.6, how to set field default value for CreateView
body: <p>models.py</p>
  
  <pre class="lang-py prettyprint-override"><code>class App(models.Model):
      name = models.CharField(max_length=10, default='')
      desc = models.CharField(max_length=10, default='') 
  </code></pre>
  
  <p>views.py</p>
  
  <pre class="lang-py prettyprint-override"><code>class AppCreate(CreateView):
      template_name = "app/add.html"
      model = App 
  </code></pre>
  
  <p>templates</p>
  
  
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;   
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;  
  &lt;body&gt;   
      &lt;form action="" method="POST"&gt;
      {% csrf_token %}                                                         
      {{form}}
      &lt;input type="submit" value='submit'&gt;
      &lt;/form&gt;
  &lt;/body&gt;  
  &lt;/html&gt;  
  </code></pre>
  
  <p>Here two problems:</p>
  
  <ol>
  <li><p>Why I set model field default value, but it doesn't work in database? I check sql statement, no default value set</p></li>
  <li><p>If want to set desc as an optional field (desc field in html is not mandatory), what shoud I do?</p></li>
  </ol>