#34711: form.has_changed() is always True for IntegerChoices Enum Model Field
------------------------+--------------------------------------
     Reporter:  GHPS    |                    Owner:  nobody
         Type:  Bug     |                   Status:  closed
    Component:  Forms   |                  Version:  4.2
     Severity:  Normal  |               Resolution:  needsinfo
     Keywords:          |             Triage Stage:  Unreviewed
    Has patch:  0       |      Needs documentation:  0
  Needs tests:  0       |  Patch needs improvement:  0
Easy pickings:  0       |                    UI/UX:  0
------------------------+--------------------------------------
Changes (by Natalia Bidart):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Hello,

 I have tried to reproduce your issue, and since the provided code is
 incomplete, I built my own models and tests. But, in my testing, if
 request.POST has the correct and complete information for the model
 instance, `has_changed` correctly reports False.

 So, I'll be closing this report as `needsinfo` since we need more
 information to properly triage this ticket. Specifically, we'd need a
 django test project with the necessary models and forms, plus instructions
 in how to trigger the issue.

 Could you please provide that? Thanks!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34711#comment:2>
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/010701895637f1b7-3bca29d4-de15-4c1d-9164-75bc2622e110-000000%40eu-central-1.amazonses.com.

Reply via email to