#33134: Circular contexts when rendering Form with BoundFields.
----------------------------------+---------------------------------------
Reporter: Mariusz Felisiak | Owner: David Smith
Type: Bug | Status: assigned
Component: Forms | Version: 4.0
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Comment (by Matthias Kestenholz):
> From Django's end, we could reduce the available context to that which
is currently necessary to render the label_tag (and any others that might
be an issue?) and let "new" context keys/values be requested as cases
might be made for them?
I think it's a bit sad that the field isn't available in the label's
context anymore. Sure, it isn't used right now. It would still be nice if
there was an easy way to fix this from django-debug-toolbar's side and
allow the additional data to stay in the label's template.
I'll have a look at it later today and see if I can reproduce the problem
and also see whether there's an easy fix or workaround starting with
`SKIP_TEMPLATE_PREFIXES` (thanks for the reminder!)
--
Ticket URL: <https://code.djangoproject.com/ticket/33134#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.cabe30a1e07c77691ae171589547a5d0%40djangoproject.com.