#33984: Related managers cache gets stale after saving a fetched model with new 
PK
-------------------------------------+-------------------------------------
     Reporter:  joeli                |                    Owner:  Mariusz
                                     |  Felisiak
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Release blocker      |               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
-------------------------------------+-------------------------------------

Comment (by Keryn Knight):

 Replying to [comment:18 Steven Mapes]:
 > Is this why model forms now, since Django 4.1.0 raise ValueErrors if you
 try access Related Managers within the `__init__` even if you check for
 the the instance being set along with the relationship?

 I ''believe'' that's #33952 -- that was fixed in `4.1.1` and this ticket
 in `4.1.2`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33984#comment:19>
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/01070183c662cfa5-c4737ad7-453b-4b33-8409-3a74af922a85-000000%40eu-central-1.amazonses.com.

Reply via email to