#24844 closed Bug (fixed)
HStore Form Field falsely report has_changed
Description ¶
Consider this simple Test
from django import forms from django.contrib.postgres.forms import HStoreField class HStoreForm(forms.Form): f1 = HStoreField() class TextForm(forms.Form): f1 = forms.Textarea() form_w_hstore = HStoreForm() assert form_w_hstore.has_changed() is False #Fails form_w_textarea = TextForm() assert form_w_textarea.has_changed() is False #Passes
Change History (6)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Has patch: | set |
---|
I try to fix the bug with this PR https://github.com/django/django/pull/4705
Note:
See TracTickets
for help on using tickets.
Triaged in this example project https://github.com/andreagrandi/django-ticket-24844
Running the tests with: python manage.py test
they fails with: