Changes between Version 47 and Version 48 of BetterErrorMessages


Ignore:
Timestamp:
Apr 17, 2013, 12:22:38 PM (12 years ago)
Author:
NickAdams
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v47 v48  
    119119I think it would be a really good idea to make it really clear from the error message what you need to do (blank=True requires null=True on foreign key fields).
    120120
    121 Unfortunately we can't automatically fix it, because if the field is left blank, the developer might be intending to supply the value automatically before save (#13824).
    122 
    123 {{{
    124 received a naive datetime while time zone support is active
    125 }}}
    126 
    127 This message doesn't help to figure out which field of which model contained a naive datetime. Patch in #19560.
     121Unfortunately we can't automatically fix it, because if the field is left blank, the developer might be intending to supply the value automatically before save (https://code.djangoproject.com/ticket/13824).
    128122
    129123== django.forms ==
Back to Top