title: django - How to set default value for DecimalField in django 1.3?
body: <p>One of my model's field looks like this:  </p>
  
  <pre><code>total_amount = models.DecimalField(max_digits=20,decimal_places=4,default=Decimal('0.0000'))
  </code></pre>
  
  <p>but when I run this command <code>python manage.py syncdb</code>, it shows this error:</p>
  
  <pre><code>NameError: name 'Decimal' is not defined
  </code></pre>
  
  <p>I have imported <code>from django.db import models</code>, do I need to import any other thing too?<br>
  Please Help!</p>