Changes between Version 37 and Version 38 of BetterErrorMessages


Ignore:
Timestamp:
Jan 16, 2012, 8:23:56 AM (12 years ago)
Author:
Chris Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v37 v38  
    9191In certain situations with PostgreSQL, a bogus error message about SET TIME ZONE may be returned. See #3179 (which is closed, but has a description of the problem).  The real error message can probably be found in the postgres log file.
    9292
     93{{{
     94%s matching query does not exist
     95}}}
     96
     97It would be really helpful for the error message to state what the query was, for example:
     98
     99{{{
     100        raise self.model.DoesNotExist(("%s matching query does not exist " +
     101            "(query was: %s, %s)") % (self.model._meta.object_name,
     102                args, kwargs))
     103}}}
     104
    93105== django.forms ==
    94106
Back to Top