#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 Mariusz Felisiak):

 Replying to [comment:8 Matthias Kestenholz]:
 > I've looked into it and I'm unsure why django-debug-toolbar's test form
 calls `str()` inside `__repr__()`. I don't think this makes sense
 >
 > This may fix it: https://github.com/jazzband/django-debug-
 toolbar/pull/1507/
 >
 > The tests pass with Django 3.2 and main; a pull request for Django 4.0a1
 follows soon.

 Thanks for fixing this in `django-debug-toolbar`. Nonetheless I still
 believe that we should avoid circular contexts in Django itself.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33134#comment:9>
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.ef454972532b2aa2a9eef2c150552e57%40djangoproject.com.

Reply via email to