#31077: Add a safeguard to debug decorators
(sensitive_variables/sensitive_post_parameters) to prevent incorrect usage.
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Mariusz
Type: | Felisiak <felisiak.mariusz@…>
Cleanup/optimization | Status: closed
Component: Error reporting | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* owner: (none) => Mariusz Felisiak <felisiak.mariusz@…>
* resolution: => fixed
Comment:
In [changeset:"d8e233352877c37c469687287e7761e05bdae94e" d8e23335]:
{{{
#!CommitTicketReference repository=""
revision="d8e233352877c37c469687287e7761e05bdae94e"
Fixed #31077 -- Made debug decorators raise TypeError if they're not
called.
Django will raise an error if you forget to call the decorator.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31077#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.7fa375f698095837af3d8bde5fb947bf%40djangoproject.com.