HStore Form Field falsely report has_changed
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)
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
set to Andrea Grandi
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Triaged in this example project https://github.com/andreagrandi/django-ticket-24844
Running the tests with: python manage.py test
they fails with: