Code

Changes between Version 22 and Version 23 of BetterErrorMessages


Ignore:
Timestamp:
10/05/08 00:39:32 (6 years ago)
Author:
programmerq
Comment:

not traclinks

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v22 v23  
    1818'NoneType' object has no attribute 'get_field_sets' 
    1919}}} 
    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]] 
    2121'''Suggestion:''' Check relevant Admin settings during model validation? 
    2222 
     
    2929string indices must be integers 
    3030}}} 
    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]] 
    3232'''Suggestion''': Check form enctype during validation? Show FILES in addition to GET and POST on error pages? 
    3333 
     
    106106291          raise 
    107107}}} 
    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. 
     108What 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. 
    109109 
    110110== FIXED ==