Changes between Version 29 and Version 30 of BetterErrorMessages


Ignore:
Timestamp:
Feb 6, 2010, 3:19:27 PM (15 years ago)
Author:
unbracketed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v29 v30  
    100100A ModelForm refers to a nonexistent field.
    101101
     102If you create a ModelForm but neglect to indicate the model in the Meta, you get:
     103{{{
     104TypeError: 'NoneType' object is not callable
     105}}}
     106In django.forms.models line 240 there could be a check to make sure the options instance has a valid model declaration and if not warn the user more explicitly ("ModelForm <classname> does is missing the model")
     107
    102108== django.http ==
    103109
Back to Top