#24844: HStore Form Field falsely report has_changed
----------------------------------+-----------------
Reporter: RamezIssac | Owner:
Type: Bug | Status: new
Component: contrib.postgres | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 1
----------------------------------+-----------------
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
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24844>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.3eaa273839107d4e7712b7ace3ccfc06%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.