summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-04-06Refs #26067 -- Added more tests for ordering in StringAgg.Simone Pellizzari
2019-04-05Refs #20010 -- Unified DatabaseOperations.last_executed_query() on Oracle ↵Mariusz Felisiak
with other db backends. Thanks Simon Charette for the review.
2019-04-05Refs #30324 -- Forced utf-8 encoding when loading templates for the ↵Nick Pope
technical 404 debug and congrats page.
2019-04-05Fixed #30324 -- Forced utf-8 encoding when loading the template for the ↵Nick Pope
technical 500 debug page. Regression in 50b8493. Related to ea542a9.
2019-04-04Fixed #30307 -- Fixed incorrect quoting of database user password when using ↵msg
dbshell on Oracle. Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.
2019-04-03Fixed #30302 -- Fixed forms.model_to_dict() result if empty list of fields ↵belegnar
is passed.
2019-04-03Refs #30302 -- Added more tests for forms.model_to_dict().belegnar
2019-04-01Fixed #30259 -- Fixed crash of admin views when properties don't have ↵Mariusz Felisiak
admin_order_field attribute.
2019-04-01Used QuerySet.bulk_create() in lookup.tests.JangHyukJin
2019-03-30Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit ↵Tim Graham
through model from being editable if the user only has the view permission.
2019-03-30Made startapp/project's overlaying error message use 'app' or 'project'.oliver
2019-03-30Refs #29697 -- Added test for excluding m2m intermediary table.can
2019-03-29Fixed #30236 -- Made UsernameField render with autocapitalize="none" HTML ↵pmisteli
attribute. This prevents automatic capitalization, which is the default behavior in some browsers.
2019-03-29Fixed #30294 -- Allowed HttpResponse to accept memoryview content.sage
2019-03-28Fixed #30241 -- Added more system checks of translation settings.Nick Pope
2019-03-28Refs #29713 -- Improved error message when LANGUAGE_CODE is invalid.Nick Pope
2019-03-28Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation.sage
2019-03-28Refs #18726 -- Added test for excluding circular related fields with F() ↵Mariusz Felisiak
expression. Fixed in f19a4945e1191e1696f1ad8e6cdc6f939c702728.
2019-03-27Fixed #28621 -- Fixed crash of annotations with OuterRef.Mariusz Felisiak
2019-03-25Fixed #29791 -- Made Engine.render_to_string() honor autoescape.Nathan Gaberel
2019-03-25Fixed #27360 -- Added app or ModelAdmin details for AreadyRegistered exceptions.Hasan Ramezani
2019-03-25Fixed #28431 -- Added a system check for BinaryField to prevent strings ↵Hasan Ramezani
defaults. Thanks Claude Paroz for the initial patch.
2019-03-24Fixed #30259 -- Added support for admin_order_field attribute on properties ↵Jani Tiainen
in ModelAdmin.list_display.
2019-03-23Removed redundant model field choices tests.Matthias Kestenholz
2019-03-23Fixed #30246 -- Reused annotation aliases references in aggregation filters.Simon Charette
Thanks Jan Baryła for the detailed report and the reduced test case.
2019-03-23Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates.Simon Charette
2019-03-23Refs #30188 -- Prevented double annotation of subquery when aggregated over.Simon Charette
Thanks Can Sarıgöl for the suggested trimming approach.
2019-03-23Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation.Simon Charette
2019-03-23Fixed #21703 -- Fixed a crash when excluding a related field with a F().Simon Charette
2019-03-22Fixed #30257 -- Made UsernameValidators prohibit trailing newlines.Ryan J Schave
2019-03-22Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.Matthias Kestenholz
Reverted cc79c7ee637e65c8da27e56d746c87903d5ec901.
2019-03-22Fixed #30271 -- Added the Sign database function.Nick Pope
2019-03-21Refs #27149 -- Moved subquery expression resolving to Query.Simon Charette
This makes Subquery a thin wrapper over Query and makes sure it respects the Expression source expression API by accepting the same number of expressions as it returns. Refs #30188. It also makes OuterRef usable in Query without Subquery wrapping. This should allow Query's internals to more easily perform subquery push downs during split_exclude(). Refs #21703.
2019-03-21Refs #29542, #30158 -- Enabled a HAVING subquery filter test on Oracle.Simon Charette
Now that subquery annotations aren't included in the GROUP BY unless explicitly grouped against, the test works on Oracle.
2019-03-21Fixed #30158 -- Avoided unnecessary subquery group by on aggregation.Simon Charette
Subquery annotations can be omitted from the GROUP BY clause on aggregation as long as they are not explicitly grouped against. Thanks Jonny Fuller for the report.
2019-03-21Refs #30158 -- Added alias argument to Expression.get_group_by_cols().Simon Charette
2019-03-21Used QuerySet.bulk_create() in a couple of postgres tests.oliver
Follow up to 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607.
2019-03-21Fixed #29471 -- Added 'Vary: Cookie' to invalid/empty session cookie responses.birthdaysgift
2019-03-21Used a picklable argument for a subTest.Carlton Gibson
2019-03-21Fixed #29956 -- Allowed overriding an order field widget in formsets.Hasan Ramezani
2019-03-20Corrected settings names in SecurityMiddleware tests.Nick Pope
2019-03-20Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database ↵Nick Pope
functions. Thanks Mariusz Felisiak and Tim Graham for reviews.
2019-03-20Fixed #28738 -- Added the GeometryDistance function.Francisco Couzo
2019-03-20Moved choices inside of a test model per coding style.oliver
Follow up to 3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a.
2019-03-20Fixed serializers test crash if PyYAML isn't installed.Tim Graham
Follow up to a57c783dd4e6dc73847081221827a1902eede88b.
2019-03-20Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit ↵Mariusz Felisiak
systems. Thanks Andreas Beckmann and Chris Lamb for the report.
2019-03-18Fixed #30258 -- Adjusted postgres schema value quoting of ranges.Simon Charette
Thanks Tilman Koschnick for the report and patch.
2019-03-17Refs #30172 -- Prevented removing a model Meta's index/unique_together from ↵Paveł Tyślacki
removing Meta constraints/indexes.
2019-03-17Refs #30172 -- Prevented removing a field's check or unique constraint from ↵Paveł Tyślacki
removing Meta constraints.
2019-03-17Refs #12663 -- Fixed reference to nonexistent field in model_fields tests.Simon Charette