Changes between Version 37 and Version 38 of BetterErrorMessages
- Timestamp:
- Jan 16, 2012, 8:23:56 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BetterErrorMessages
v37 v38 91 91 In 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. 92 92 93 {{{ 94 %s matching query does not exist 95 }}} 96 97 It 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 93 105 == django.forms == 94 106