* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Shahriar Sohan
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:3>
* owner: Shahriar Sohan => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:4>
* owner: (none) => David Sanders
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:5>
* has_patch: 0 => 1
Comment:
Thanks Adam, good idea 👍
I've taken a stab, left it as a TypeError but just improved the message.
I'm not sure about the "It returned <blah> instead." part. With templates
the "None" is hardcoded as it's a literal None check. For this I'm not
sure what the best way to generalise the return value/type in English is
😁. If you have any ideas I'm open.
And as I write this the ever so quick felixx has already started reviewing
though so it may all get resolved by the time you read this 🤣
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:6>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"5dba5fda551afe169dce7620b08a99c3455ebb00" 5dba5fd]:
{{{
#!CommitTicketReference repository=""
revision="5dba5fda551afe169dce7620b08a99c3455ebb00"
Fixed #34427 -- Improved error message when context processor does not
return a dict.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34427#comment:8>