#23900: Section on Preventing header injection does not include some imports
-------------------------------------+-------------------------------------
Reporter: kevgathuku | Owner:
Type: | kevgathuku
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: BadHeaderError, | Triage Stage: Ready for
docs | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Baptiste Mispelon <bmispelon@…>):
In [changeset:"22d292e23b1b60fd5c304b3d867ecf70860e7048"]:
{{{
#!CommitTicketReference repository=""
revision="22d292e23b1b60fd5c304b3d867ecf70860e7048"
[1.7.x] Fixed #23900 -- Added missing imports in code example.
The Preventing header injection example included
classes that are not imported.
Thanks to Collin Anderson and Berker Peksağ for the
reviews.
Backport of 0d74209ef66111f29f122d5f5fdf8e2964890cc5 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23900#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.43cb7000f0a1ea3e506d30f37db23292%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.