Error views should receive the exception that triggered the view. This is
especially useful to show custom messages for permission denied errors
(403).
--
Ticket URL: <https://code.djangoproject.com/ticket/24733>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
PR: https://github.com/django/django/pull/4590
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:2>
Comment (by Claude Paroz <claude@…>):
In [changeset:"69125ce90453f94c92432be1ab67768db514c82d" 69125ce9]:
{{{
#!CommitTicketReference repository=""
revision="69125ce90453f94c92432be1ab67768db514c82d"
Extended variable name in handlers/base.py
Refs #24733.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:4>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"70779d9c1cab77791c73b72e8a63f60184d8f2b0" 70779d9]:
{{{
#!CommitTicketReference repository=""
revision="70779d9c1cab77791c73b72e8a63f60184d8f2b0"
Fixed #24733 -- Passed the triggering exception to 40x error handlers
Thanks Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:5>
Comment (by Tim Graham <timograham@…>):
In [changeset:"3cee9edd1b3e1a11ecdfeecef6f2247c10c859fb" 3cee9ed]:
{{{
#!CommitTicketReference repository=""
revision="3cee9edd1b3e1a11ecdfeecef6f2247c10c859fb"
Refs #24733 -- Removed support for error views without the exception
parameter.
Per deprecation timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"49f97b645fb1716cf69177558c41cf650a701eed" 49f97b64]:
{{{
#!CommitTicketReference repository=""
revision="49f97b645fb1716cf69177558c41cf650a701eed"
Refs #24733 -- Documented arguments for custom error views.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:7>
Comment (by Tim Graham <timograham@…>):
In [changeset:"0d8f26f32014ddfd3fee5419dedc9f5860d6a5e1" 0d8f26f3]:
{{{
#!CommitTicketReference repository=""
revision="0d8f26f32014ddfd3fee5419dedc9f5860d6a5e1"
[2.1.x] Refs #24733 -- Documented arguments for custom error views.
Backport of 49f97b645fb1716cf69177558c41cf650a701eed from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24733#comment:8>