Django DecimalField not accepting 0 if decimal_places == max_digits
<p>I define a DecimalField on a model with the decimal_places attribute equal to the max_digits attribute (to store a value &lt; 1), like so:</p>

<pre><code>class MyModel(Model):
    my_field = DecimalField(max_digits=5, decimal_places=5)
</code></pre>

<p>In a form (the django admin site for instance), this field won't take 0, I get the following error:</p>

<blockquote>
  <p>Ensure that there are no more than 0 digits before the decimal point.</p>
</blockquote>

<p>But it will take 0.0 :/</p>

<p>Anyone with the same issue? I can't find posts about it. Is this a bug or is there a reason for this behaviour?</p>