summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2019-04-08Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags ↵Ran Benita
on language cookies.
2019-04-08Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵can
timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-04-06Fixed #30332 -- Fixed crash of ordering by expressions with params in ↵Simone Pellizzari
ArrayAgg and StringAgg.
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-05Fixed bidirectionality on the congrats page.Majid Vaghari
2019-04-05Fixed #30331 -- Added support for psycopg2 2.8.Mariusz Felisiak
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-03Fixed typo in django/db/models/query_utils.py comment.David Beitey
2019-04-01Fixed #30259 -- Fixed crash of admin views when properties don't have ↵Mariusz Felisiak
admin_order_field attribute.
2019-04-01Updated contrib translations from Transifex.Claude Paroz
Forwardport of 7090cbf54202c21978a93bdb76ba006780e1865c from 2.2.x.
2019-04-01Updated core translations from TransifexClaude Paroz
Forwardport of 98f526e67c2899b9d44ba7cdbab5d70b1baa0060 from 2.2.x.
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-30Optimized CommonMiddleware's check for DISALLOWED_USER_AGENTS.Brad
Avoided getattribute + getitem for each DISALLOWED_USER_AGENTS.
2019-03-30Fixed #30301 -- Removed OutputWrapper.__init__()'s style_func arg.Tim Graham
Unused since 533532302ae842c95cf7294ef6cd7f3e2bfaca65.
2019-03-29Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
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 "byte string" typo in various docs and comments.Mariusz Felisiak
2019-03-27Updated spelling and RFCs in HttpOnly cookie flag docs.Nick Pope
2019-03-27Removed unused timeparse.js.Nick Pope
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27Removed obsolete ActiveXObject from admindocs bookmarklets.Nick Pope
Required for IE<7.
2019-03-27Simplified Date.prototype.getTwelveHours().Nick Pope
2019-03-27Removed unused Date.prototype.getHourMinute().Nick Pope
Unused since d2180a6bf3a72bad67bf4897b0ce2d94a6214fc4.
2019-03-27Removed unused Date.prototype.getHourMinuteSecond().Nick Pope
Unused since fa0653cd1d791a8bce835e8992cbeab6fd70d0e7.
2019-03-27Removed unused String.prototype.pad_left().Nick Pope
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27Removed unneeded compatibility shim for getComputedStyle().Nick Pope
Required for IE<9.
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-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-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.