Changes between Version 15 and Version 16 of BetterErrorMessages


Ignore:
Timestamp:
Feb 2, 2007, 4:08:05 PM (18 years ago)
Author:
Paul Bx <pb@…>
Comment:

added Http404 note (and reordered sections)

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v15 v16  
    1212 * NewbieMistakes
    1313
    14 == django.db ==
    15 
    16 {{{
    17 OperationalError: Unable to close due to unfinalised statements
    18 }}}
    19 '''Context:''' SQLite file permissions are incorrect (directory or DB file lack write permission)[[BR]]
    20 '''Suggestion:''' Check file permissions when running with SQLite backend and warn user if they seem incorrect
    2114
    2215== django.contrib.admin ==
     
    4134 * Ticket #3221 -- patch for better error message for faulty URLconf
    4235
     36
     37== django.db ==
     38
     39{{{
     40OperationalError: Unable to close due to unfinalised statements
     41}}}
     42'''Context:''' SQLite file permissions are incorrect (directory or DB file lack write permission)[[BR]]
     43'''Suggestion:''' Check file permissions when running with SQLite backend and warn user if they seem incorrect
     44
     45
     46== django.http ==
     47
     48{{{
     49AttributeError: Http404 instance has no attribute 'has_header'
     50}}}
     51'''Context:''' Http404 is {{{return}}}ed instead of {{{raise}}}d[[BR]]
     52'''Suggestion:''' Check type of HttpResponse before attempting to use (perhaps unPythonic?) or possibly give Http404 a clearer name like Http404Exception
     53
    4354== django.template ==
    4455
     
    4960
    5061 * Ticket #1732 -- a problem that elicits no error message, but should.
     62
     63
Back to Top