#34220: Cannot import csrf_input_lazy from partially initialized module.
-------------------------------------+-------------------------------------
Reporter: thommy | Owner:
| rajdesai24
Type: Bug | Status: closed
Component: Template system | Version: 4.1
Severity: Normal | Resolution: fixed
Keywords: Jinja2 TemplateView | Triage Stage: Ready for
ImportError csrf_input_lazy | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d5f892d873c6f98178121214f3c00d284ae1296d" d5f892d8]:
{{{
#!CommitTicketReference repository=""
revision="d5f892d873c6f98178121214f3c00d284ae1296d"
Fixed #34220 -- Moved csrf_input_lazy, csrf_token_lazy imports to the
toplevel.
This prevents random errors with partially initialized modules.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34220#comment:11>
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/01070185873bf607-ec77b071-4c36-4f21-a3a3-0737571a11e4-000000%40eu-central-1.amazonses.com.