summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Fixed typo in docs/releases/3.0.txt.Mariusz Felisiak
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 #30283 -- Fixed shellcheck warnings in django_bash_completion.Albert Wang
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-21Removed obsolete Lookup hook to prepare rhs expressions.Simon Charette
After 3a505c70e7b228bf1212c067a8f38271ca86ce09, all _prepare() methods return self.
2019-03-21Refs #27149, #29542 -- Simplified subquery parentheses wrapping logic.Simon Charette
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 #27149 -- Made Subquery store Query instead of Queryset.Simon Charette
Subquery only uses Query.
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-21Used monospace font in date template filter format character docs.Philipp Bosch
Helps distinguish between lowercase L and uppercase I.
2019-03-21Fixed #30277 -- Fixed broken links to packaging.python.org.Tim Graham
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 #30263 -- Doc'd changes to form Media sorting (refs #30179).Carlton Gibson
Thanks to Tim Graham for review.
2019-03-18Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().Paul Wayper
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
2019-03-15Cleaned up exception message checking in some tests.Jon Dufresne
2019-03-14Fixed #30254 -- Allowed model metaclasses to access the attribute dict in ↵Matt Westcott
__init__(). Regression in a68ea231012434b522ce45c513d84add516afa60.
2019-03-14Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin ↵Herman S
checks allow subclasses.
2019-03-14Simplified test_transform()s in db_functions.math.Mariusz Felisiak
2019-03-14Fixed serializers tests for PyYAML 5.1+.Mariusz Felisiak
2019-03-13Fixed #30183 -- Added introspection of inline SQLite constraints.Paveł Tyślacki
2019-03-12Fixed #30161 -- Added how to decorate class-based views to view decorators docs.alexanderblnf
2019-03-12Simplified forms_tests.tests.test_formsets.Mariusz Felisiak
2019-03-12Clarified deconstruct() in Custom Model Field docs.David Beitey
2019-03-11Minimized try block in Client.request().Jon Dufresne
2019-03-10Refs #18807 -- Removed unused exception handler from Client.request().Jon Dufresne
Unused since 8bd7b598b6de1be1e3f72f3a1ee62803b1c02010.