Changes between Version 36 and Version 37 of BetterErrorMessages
- Timestamp:
- Sep 16, 2011, 6:18:14 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BetterErrorMessages
v36 v37 118 118 '''Suggestion:''' Check type of HttpResponse before attempting to use (perhaps unPythonic?) or possibly give Http404 a clearer name like Http404Exception 119 119 120 == django.shortcuts == 121 Invoking .render() with a <coconut> object instead of a HttpRequest as the first argument invokes AttributeError with the message: "'<coconut>' object has no attribute 'META'". Better will be something like, "render() takes a request object for the first argument." 122 120 123 == django.template == 121 124