Changes between Version 22 and Version 23 of BetterErrorMessages
- Timestamp:
- Oct 5, 2008, 2:39:32 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BetterErrorMessages
v22 v23 18 18 'NoneType' object has no attribute 'get_field_sets' 19 19 }}} 20 '''Context:''' One or more models that are referenced by ForeignKey from another model are missing their inner `Admin` class. Possible other causes as well. See ticket #1808. [[BR]]20 '''Context:''' One or more models that are referenced by !ForeignKey from another model are missing their inner `Admin` class. Possible other causes as well. See ticket #1808. [[BR]] 21 21 '''Suggestion:''' Check relevant Admin settings during model validation? 22 22 … … 29 29 string indices must be integers 30 30 }}} 31 '''Context:''' A FileUploadField is being validated but the form did not have enctype="multipart/form-data" set.[[BR]]31 '''Context:''' A !FileUploadField is being validated but the form did not have enctype="multipart/form-data" set.[[BR]] 32 32 '''Suggestion''': Check form enctype during validation? Show FILES in addition to GET and POST on error pages? 33 33 … … 106 106 291 raise 107 107 }}} 108 What seems to be happening is that self.invalid_block_tag(...) raises an error which gets caught by TemplateSyntaxError and which eventually leads to the generic 'list index out of range' error being reported in the Django error page.108 What seems to be happening is that self.invalid_block_tag(...) raises an error which gets caught by !TemplateSyntaxError and which eventually leads to the generic 'list index out of range' error being reported in the Django error page. 109 109 110 110 == FIXED ==