I'm not sure if a syncdb changes the null attribute of a field at the DB level, I think you need to make a migration for that.
Either way, it would be useful if you could post the declarations of the form and the model to see if everything is ok. On Sun, Nov 16, 2014 at 2:51 PM, elcaiaimar <sepa...@gmail.com> wrote: > Hello everybody, I've a problem with DecimalField at Forms. I've a long > form in my template and I want to left some fields in blank. I've declared > these fields with > *required=False*, but when I submit the form I receive this error: '*This > value must be a decimal number*'. > > I've tried to declare *blank=True, null=True* in respective fields in > models.py and make a syncdb but it continues without works > > Does somebody know how could I solve this problem? > > Thank you very much! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/95da2ed1-e9ce-43c5-9e53-3d17cab471d5%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/95da2ed1-e9ce-43c5-9e53-3d17cab471d5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei0NukWtr5AHhUoNSiMg3gD-ngTXOHCS7SmDx-O-7Rk-Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.