summaryrefslogtreecommitdiff
path: root/django/contrib/postgres
AgeCommit message (Collapse)Author
2016-06-02[1.10.x] Fixed #26672 -- Fixed HStoreField to raise ValidationError instead ↵Brad Melin
of crashing on non-dict JSON input. Backport of f6517a5335ccc4858ee540548a1bd162bec36c46 from master
2016-05-18Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-05-04Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz
Thanks Tim Graham for completing the initial patch.
2016-04-30Pulled translations from TransifexClaude Paroz
2016-04-27Fixed #26542 -- Fixed quoting in CreateExtension operation.Conrad Kramer
2016-04-22Refs #3254 -- Added full text search to contrib.postgres.Marc Tamlyn
Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-04-03Fixed #26101 -- Allowed introspection of base_field.model in RangeFieldanna
Used the same test and fix as in #25867. This required initializing base_field in RangeField.__init__, not when setting the attribute.
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-15Fixed #25579 -- Fixed ArrayField.get_db_prep_value() to allow complex types.Matt C
2016-03-12Fixed #26283 -- Fixed removal of trailing nulls for SplitArrayField.quaspas
2016-03-12Fixed #25143 -- Added ArrayField.from_db_value().Fernando Miranda
Thanks Karan Lyons for contributing to the patch.
2016-02-16Fixed #26215 -- Fixed RangeField/ArrayField serialization with None valuesClaude Paroz
Also added tests for HStoreField and JSONField. Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and the review.
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-01-29Fixed #26120 -- Made HStoreField cast keys and values to strings.Greg Chapple
HStoreField now converts all keys and values to string before they're saved to the database.
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2015-12-31Updated translations from TransifexClaude Paroz
Forward port of 59f3590ca7 from stable/1.9.x.
2015-12-17Fixed #25841 -- Handled base array fields validation errors with params.Simon Charette
Thanks to Trac alias benzid-wael for the report.
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-12-07Fixed #25867 -- Fixed a system check crash with nested ArrayFields.Simon Charette
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-12-01Pulled contrib translations from TransifexClaude Paroz
Forward port of 6a4649c27e6 from stable/1.9.x
2015-11-25Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.Attila Tovt
2015-11-14Fixed #25666 -- Fixed the exact lookup of ArrayField.Dmitry Dygalo
2015-10-27Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid ↵Tim Graham
value.
2015-10-09Updated translation catalogsClaude Paroz
Forward port of f717cb2ab4 from stable/1.9.x.
2015-09-21Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton
2015-08-07Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.Tim Graham
Thanks Simon Charette for review.
2015-08-05Fixed #25226 -- Set the model attribute on ArrayField's base_fieldIon Scerbatiuc
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-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-06-15Fixed #24894 -- Added contrib.postgres.functions.TransactionNowAdam Chainz
2015-06-06Instead of using DjangoJSONEncoder, use base_field's value_to_string.Matthew Somerville
Note this means the serialization of e.g. IntegerRangeField now has strings for lower and upper, so use to_python when they came back in (same behaviour as ArrayField, hopefully, from where I also got the set_attributes_from_name function).
2015-06-05Fixed #24937 -- fix serialization of Date(Time)RangeField.Matthew Somerville
Use the DjangoJSONEncoder so that datetime and date are encoded appropriately.
2015-06-04Fixed #24837 -- field__contained_by=RangeMarc Tamlyn
Provide `contained_by` lookups for the equivalent single valued fields related to the range field types. This acts as the opposite direction to rangefield__contains. With thanks to schinckel for the idea and initial tests.
2015-05-30Fixed #24604 -- Added JSONField to contrib.postgres.Marc Tamlyn
2015-05-30Add HasAnyKeys lookup for HStoreField.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-05-13Fixed #24751 -- Fixed HStoreField isnull lookup.Tim Graham
2015-04-30Updated translations from TransifexClaude Paroz
Updates for languages: Indonesian, Belarusian, Persian, and Dutch. Forward port of cb370f8510 from stable/1.8.x
2015-04-18Stopped special-casing postgres-specific testsClaude Paroz
Refs #23879.
2015-04-01Fetched updated contrib translations from TransifexClaude Paroz
Forward port of 5483c66f85 from stable/1.8.x
2015-03-30Fixed #24301 -- Added PostgreSQL-specific aggregate functionsAndriy Sokolovskiy
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
2015-03-18Updated translation catalogsClaude Paroz
Strings are frozen in anticipation of the Django 1.8 release. Forward port of 1cd2584c980 from stable/1.8.x
2015-02-20Fixed #24341 -- Added specific error messages to RangeField subclassesforesmac