Changes between Initial Version and Version 3 of Ticket #33179
- Timestamp:
- Oct 8, 2021, 10:44:30 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33179
- Property Owner changed from to
-
Ticket #33179 – Description
initial v3 34 34 35 35 which is easier to figure out given the stack trace, but still unhelpful to a newcomer. 36 37 I propose inspecting the first argument's class name to return a message like this: 38 39 {{{ 40 #!python 41 "First argument to render() must be an HttpRequest, not 'str'." 42 }}} 43 44 Similar type inspection is done in other shortcut functions such as `get_object_or_404`.