Changes between Version 57 and Version 58 of BetterErrorMessages
- Timestamp:
- Feb 26, 2014, 12:39:38 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BetterErrorMessages
v57 v58 89 89 I 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). 90 90 91 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 (https://code.djangoproject.com/ticket/13824). 91 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). 92 A similar issue occurs here: #13776 92 93 93 94 Here are some tickets that must be paid attention to: … … 123 124 == django.template == 124 125 125 126 126 When resolving a template variable that calls an object method/property. If that method/property has errors we get a {{{VariableDoesNotExist}}} exception without what errors happened, which might confuse the user. 127 See #16383 for more details. 127 128 128 129 Looking at these might be useful: #6907 and #11421. 129 130 130 131 * See [http://groups.google.com/group/django-developers/browse_thread/thread/42aff5c291a69041/d006eb5292b8aac3 this thread on the django-developers list] for discussion of suppression of TypeError in the template engine.