summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/forms
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33308 -- Moved psycopg2 imports to the psycopg_any module.Florian Apolloner2022-12-121-2/+5
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-073-68/+97
|
* Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete ↵Guilherme Martins Crocetti2021-11-041-1/+4
| | | | range fields.
* Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per ↵Mariusz Felisiak2021-01-142-17/+0
| | | | deprecation timeline.
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-081-58/+11
| | | | | | | | | | | 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>
* Changed django.forms.ValidationError imports to ↵François Freitag2020-04-281-1/+2
| | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #30907 -- Fixed SplitArrayField.has_changed() with removal of empty ↵Pavel Dedik2019-10-281-0/+11
| | | | trailing values.
* Refs #30907 -- Added SplitArrayField._remove_trailing_nulls() hook.Pavel Dedik2019-10-281-10/+15
|
* Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.Nasir Hussain2019-09-171-13/+20
|
* Refs #29598 -- Removed FloatRangeField per deprecation timeline.Mariusz Felisiak2019-09-101-15/+1
|
* Fixed #30596 -- Fixed SplitArrayField.has_changed() for non-string base fields.Chason Chaffin2019-07-031-0/+4
| | | | | Thanks to Evgeniy Krysanov for the report and the idea to use to_python. Thanks to Mariusz Felisiak for the test case.
* Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-281-1/+1
| | | | Thanks Claude Paroz for assistance with translations.
* Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino2018-10-021-4/+18
|
* Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani2018-05-131-2/+2
|
* Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani2018-04-221-4/+4
|
* Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam2018-04-071-0/+10
|
* Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope2017-12-111-1/+1
|
* Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider ↵shanghui2017-11-111-0/+8
| | | | True/1 values as different.
* Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵Tim Graham2017-09-252-3/+3
| | | | JSONDecodeError.
* Fixed #27161 -- Fixed form validation when an ArrayField's base_field has ↵Romulo Furtado2017-06-131-0/+4
| | | | choices.
* Fixed #28192 -- Required passing optional form field args as keyword args.Claude Paroz2017-06-031-3/+3
|
* Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from ↵Tom2017-05-201-1/+4
| | | | contrib.postgres.forms.
* Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.Tim Graham2017-04-291-8/+9
| | | Thanks Preston Timmons for review.
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-074-4/+4
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-253-9/+9
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-183-8/+5
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Fixed #15667 -- Added template-based widget rendering.Preston Timmons2016-12-271-2/+2
| | | | Thanks Carl Meyer and Tim Graham for contributing to the patch.
* Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman2016-12-151-1/+3
|
* Refs #27003 -- Fixed JSONField crash on converted values.Brandon Chinn2016-11-151-1/+11
|
* Refs #27003 -- Fixed SimpleArrayField crash on converted values.Brandon Chinn2016-11-151-1/+3
|
* Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham2016-09-221-0/+6
| | | | | | FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review.
* Fixed #26949 -- Fixed crash of disabled forms.JSONField.Olexander Yermakov2016-07-271-0/+2
|
* Fixed #26748 -- Allowed overriding JSONField's widget with an attribute.Charlie Denton2016-06-131-4/+1
|
* Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of ↵Brad Melin2016-06-021-1/+11
| | | | crashing on non-dict JSON input.
* Fixed #25532 -- Properly redisplayed JSONField form input valuesClaude Paroz2016-04-011-0/+15
| | | | | Thanks David Szotten for the report and Tommy Beadle for code inspiration. Thanks Tim Graham for the review.
* Fixed #26283 -- Fixed removal of trailing nulls for SplitArrayField.quaspas2016-03-121-1/+1
|
* Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach2016-01-051-2/+4
|
* Fixed #25841 -- Handled base array fields validation errors with params.Simon Charette2015-12-171-32/+37
| | | | Thanks to Trac alias benzid-wael for the report.
* Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid ↵Tim Graham2015-10-271-1/+1
| | | | value.
* Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.Tim Graham2015-08-071-7/+8
| | | | Thanks Simon Charette for review.
* Fixed #25215 -- Solved reference to forms.HStoreField in declaration of ↵Curtis Maloney2015-08-041-1/+1
| | | | | | HStoreField Correct test which was using the model field in a test form.
* Fixed #24604 -- Added JSONField to contrib.postgres.Marc Tamlyn2015-05-302-0/+32
|
* Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's ↵Villiers Strauss2015-05-251-2/+9
| | | | prepare_value()
* Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi2015-05-241-0/+10
|
* Removed unnecessary arguments in .get method callsPiotr Jakimiak2015-05-131-1/+1
|
* Fixed #24341 -- Added specific error messages to RangeField subclassesforesmac2015-02-201-0/+4
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-8/+8
|
* Fixed #24170 -- Implemented decompress for BaseRangeField widgetsNg Zhi An2015-01-221-2/+13
|
* Fixed #24001 -- Added range fields for PostgreSQL.Marc Tamlyn2015-01-102-0/+70
| | | | | | | | | Added support for PostgreSQL range types to contrib.postgres. - 5 new model fields - 4 new form fields - New validators - Uses psycopg2's range type implementation in python
* Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne2014-12-081-1/+1
| | | | comprehension