summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
AgeCommit message (Collapse)Author
2016-07-27Fixed #26949 -- Fixed crash of disabled forms.JSONField.Olexander Yermakov
2016-07-27Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.Tim Graham
Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test.
2016-07-21Fixed #25454 -- Ensured register_hstore_handler is called for all connectionsClaude Paroz
Thanks Simon Charette for help with the patch.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-16Fixed flake8 2.6 warnings.Tim Graham
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-06-02Fixed #26617 -- Added distinct argument to contrib.postgres's StringAgg.Rustam Kashapov
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-04-27Fixed #26542 -- Fixed quoting in CreateExtension operation.Conrad Kramer
2016-04-22Removed a flaky contrib.postgres search test.Tim Graham
The test sometimes fails on CI and isn't worth debugging at this time.
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-21Fixed #22383 -- Added support for HTML5 required attribute on required form ↵Jon Dufresne
fields.
2016-04-08Fixed E128 flake8 warnings in tests/.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-12Refs #25979 -- Dropped compatiblity for running tests on PostgreSQL < 9.2.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-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
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-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-25Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.Attila Tovt
2015-11-14Refs #25745 -- Isolated some postgres array field check tests.Simon Charette
2015-11-14Fixed #25666 -- Fixed the exact lookup of ArrayField.Dmitry Dygalo
2015-11-13Checked DateTimeTZRange/DateRange conversion in postgres_tests.Nicolas Delaby
2015-10-27Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid ↵Tim Graham
value.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-08-15Fixed #25180 -- Prevented varchar_patterns_ops and text_patterns_ops indexes ↵Caio Ariede
for ArrayField.
2015-08-12Fixed #25172 -- Fixed check framework to work with multiple databases.Ion Scerbatiuc
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-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-15Fixed #24894 -- Added contrib.postgres.functions.TransactionNowAdam Chainz
2015-06-06Added missing tests for transforms usage with subquery for PostgreSQL fieldsAndriy Sokolovskiy
2015-06-06Switch to aware datetimes in test.Matthew Somerville
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-30Name PostgreSQL correctly.Marc Tamlyn
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 forms import.Florian Apolloner