summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/forms
AgeCommit message (Collapse)Author
2025-10-13Replaced multi-level relative imports with absolute imports in django/.lyova24
2024-10-07Fixed #35449 -- Fixed validation of array items in SplitArrayField when ↵GappleBee
remove_trailing_nulls=True.
2024-05-10Fixed #35436 -- Fixed displaying Unicode chars in forms.HStoreField.SaJH
2022-12-12Refs #33308 -- Moved psycopg2 imports to the psycopg_any module.Florian Apolloner
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-11-04Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete ↵Guilherme Martins Crocetti
range fields.
2021-01-14Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per ↵Mariusz Felisiak
deprecation timeline.
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-10-28Fixed #30907 -- Fixed SplitArrayField.has_changed() with removal of empty ↵Pavel Dedik
trailing values.
2019-10-28Refs #30907 -- Added SplitArrayField._remove_trailing_nulls() hook.Pavel Dedik
2019-09-17Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.Nasir Hussain
2019-09-10Refs #29598 -- Removed FloatRangeField per deprecation timeline.Mariusz Felisiak
2019-07-03Fixed #30596 -- Fixed SplitArrayField.has_changed() for non-string base fields.Chason Chaffin
Thanks to Evgeniy Krysanov for the report and the idea to use to_python. Thanks to Mariusz Felisiak for the test case.
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-05-13Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-11-11Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider ↵shanghui
True/1 values as different.
2017-09-25Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵Tim Graham
JSONDecodeError.
2017-06-13Fixed #27161 -- Fixed form validation when an ArrayField's base_field has ↵Romulo Furtado
choices.
2017-06-03Fixed #28192 -- Required passing optional form field args as keyword args.Claude Paroz
2017-05-20Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from ↵Tom
contrib.postgres.forms.
2017-04-29Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.Tim Graham
Thanks Preston Timmons for review.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-15Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman
2016-11-15Refs #27003 -- Fixed JSONField crash on converted values.Brandon Chinn
2016-11-15Refs #27003 -- Fixed SimpleArrayField crash on converted values.Brandon Chinn
2016-09-22Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review.
2016-07-27Fixed #26949 -- Fixed crash of disabled forms.JSONField.Olexander Yermakov
2016-06-13Fixed #26748 -- Allowed overriding JSONField's widget with an attribute.Charlie Denton
2016-06-02Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of ↵Brad Melin
crashing on non-dict JSON input.
2016-04-01Fixed #25532 -- Properly redisplayed JSONField form input valuesClaude Paroz
Thanks David Szotten for the report and Tommy Beadle for code inspiration. Thanks Tim Graham for the review.
2016-03-12Fixed #26283 -- Fixed removal of trailing nulls for SplitArrayField.quaspas
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2015-12-17Fixed #25841 -- Handled base array fields validation errors with params.Simon Charette
Thanks to Trac alias benzid-wael for the report.
2015-10-27Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid ↵Tim Graham
value.
2015-08-07Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.Tim Graham
Thanks Simon Charette for review.
2015-08-04Fixed #25215 -- Solved reference to forms.HStoreField in declaration of ↵Curtis Maloney
HStoreField Correct test which was using the model field in a test form.
2015-05-30Fixed #24604 -- Added JSONField to contrib.postgres.Marc Tamlyn
2015-05-25Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's ↵Villiers Strauss
prepare_value()
2015-05-24Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-02-20Fixed #24341 -- Added specific error messages to RangeField subclassesforesmac
2015-02-06Sorted imports with isort; refs #23860.Tim Graham