summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/fields/hstore.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-18/+19
|
* Refs #12990 -- Moved CheckFieldDefaultMixin to the ↵sage2019-10-171-2/+1
| | | | django.db.models.fields.mixins.
* Fixed #30769 -- Fixed a crash when filtering against a subquery ↵Simon Charette2019-09-161-1/+1
| | | | | | | | | JSON/HStoreField annotation. This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086 to address CVE-2019-14234. Thanks Tim Kleinschmidt for the report and Mariusz for the tests.
* Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on ↵Mariusz Felisiak2019-08-141-1/+1
| | | | | | | expressions with params. Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387. Thanks Florian Apolloner for the report and helping with tests.
* Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and index ↵Mariusz Felisiak2019-08-011-1/+1
| | | | | | | lookups against SQL injection. Thanks to Sage M. Abdullah for the report and initial patch. Thanks Florian Apolloner for reviews.
* Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-281-1/+1
| | | | Thanks Claude Paroz for assistance with translations.
* Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham2018-04-031-1/+4
|
* Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope2017-12-111-4/+3
|
* Refs #27795 -- Replaced many force_text() with str()Claude Paroz2017-04-271-4/+3
| | | | Thanks Tim Graham for the review.
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-5/+5
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-3/+2
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman2016-12-151-3/+3
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Fixed #26120 -- Made HStoreField cast keys and values to strings.Greg Chapple2016-01-291-0/+17
| | | | | HStoreField now converts all keys and values to string before they're saved to the database.
* Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton2015-09-211-2/+2
|
* Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson2015-07-141-2/+1
| | | | | | The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
* Add HasAnyKeys lookup for HStoreField.Marc Tamlyn2015-05-301-12/+3
|
* Fixed #24751 -- Fixed HStoreField isnull lookup.Tim Graham2015-05-131-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+1
|
* Move % addition to lookups, refactor postgres lookups.Marc Tamlyn2015-01-101-52/+12
| | | | | | These refactorings making overriding some text based lookup names on other fields (specifically `contains`) much cleaner. It also removes a bunch of duplication in the contrib.postgres lookups.
* Renamed qn to compilerJosh Smeaton2014-11-161-18/+18
|
* Added HStoreField.Marc Tamlyn2014-11-041-0/+145
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.