#25417: Add a system check for an invalid default on a model field
-------------------------------------+-------------------------------------
     Reporter:  André Avorio         |                    Owner:  Simon
                                     |  Charette
         Type:  New feature          |                   Status:  closed
    Component:  Core (System         |                  Version:  master
  checks)                            |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  decimal,             |             Triage Stage:  Ready for
  InvalidOperation, migrations       |  checkin
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 I closed #27684 as a duplicate. It's a similar problem where a string
 (rather than `date`) was incorrectly assigned as the default for
 `DateField`.

--
Ticket URL: <https://code.djangoproject.com/ticket/25417#comment:27>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.796333d8e91ebba1ecfd8a1c30dbee14%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to