summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2017-10-16[2.0.x] Bumped version for 2.0 beta 1.2.0b1Tim Graham
2017-10-16[2.0.x] Fixed #28497 -- Restored the ability to use sliced QuerySets with ↵Tim Graham
__exact. Regression in ec50937bcbe160e658ef881021402e156beb0eaf. Thanks Simon Charette for review. Backport of 1b73ccc4bf78af905f72f4658cf463f38ebf7b97 from master
2017-10-16[2.0.x] Fixed typo in MessageMiddleware.process_response() docstring.Joe Arthur
Backport of 61a6245dc5c9ad8423dcceb47fdeff167c838542 from master
2017-10-14[2.0.x] Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from ↵Yuri Kaszubowski Lopes
mutating get_user_permissions(). Backport of d98210c25577e7f007605f4960672e887dd452e6 from master
2017-10-13[2.0.x] Corrected examples in related field descriptor docstrings.Simon Charette
Using lowercased model class names suggested that accessing the attribute from instances of the class returned an instance of the descriptor, but this is only the case when accessed from the model class. Backport of 9dd405973cc39c00e50e28869808fb0797fea2b4 from master
2017-10-13[2.0.x] Updated email.Util (Python 2) references to email.utils (Python 3).Tim Graham
Backport of f2868f97399955650c47c948dc57c376bebb67b1 from master
2017-10-13[2.0.x] Fixed #28710 -- Fixed the Basque DATE_FORMAT stringClaude Paroz
Thanks Eneko Illarramendi for the report and initial patch. Backport of 8c538871bda3832bca2dddefe317bf4a9230dd45 from master.
2017-10-12[2.0.x] Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.Paulo
Backport of a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f from master
2017-10-12[2.0.x] Fixed #28679 -- Fixed urlencode()'s handling of bytes.François Freitag
Regression in fee42fd99ee470528858c2ccb3621135c30ec262. Thanks Claude Paroz, Jon Dufresne, and Tim Graham for the guidance. Backport of 41be85862d9067a809ccf3707d2a22dfef23d99a from master
2017-10-10[2.0.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if ↵Daniel Tao
default is a callable that returns None. Backport of 4d60261b2a77460b4c127c3d832518b95e11a0ac from master
2017-10-09[2.0.x] Fixed #28685 -- Fixed awkward wrapping of Select2 chips.Johannes Hoppe
Backport of 3a191bd4abf9937e11504e66a7e5167910c0ab84 from master
2017-10-06[2.0.x] Refs #24254 -- Removed unnecessary SQL AS clause in ↵Mariusz Felisiak
SQLCompiler.as_sql(). Incorrect on Oracle. Backport of 11ade8eefd32f5bc7ee6379b77824f02ca61c20b from master
2017-10-05[2.0.x] Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion ↵Mariusz Felisiak
crash on Oracle when using more than 65535 parameters. Thanks Tim Graham for the review. Backport of 1b823b8f182e8f31b8c9db281311ef718299eda7 from master
2017-09-30[2.0.x] Refs #27025, #28593 -- Fixed "invalid escape sequence" warnings in ↵Jon Dufresne
urls/resolvers.py. Backport of f0ffa3f4ea277f9814285085fde20baff60fc386 from master
2017-09-29[2.0.x] Fixed #27979 -- Made MySQL raise IntegrityError rather than ↵Tim Graham
OperationalError when saving negative numbers in PositiveInteger fields. Backport of dd82f3327124fd2762cf6df2ac8c6380772bf127 from master
2017-09-29[2.0.x] Refs #28492 -- Defined aggregates' output_field at the class level.Simon Charette
Missed in 08654a99bbdd09049d682ae57cc94241534b29f0. Backport of f1b713024e3a1e8c6361ea407cb8248224f7cc82 from master
2017-09-28[2.0.x] Fixed #28629 -- Made tree.Node instances hashable.Mariusz Felisiak
Regression in 508b5debfb16843a8443ebac82c1fb91f15da687 which added Node.__eq__(). Backport of fc6528b25ab1834be1a478b405bf8f7ec5cf860c from master
2017-09-27[2.0.x] Fixed #28562 -- Fixed DecimalValidator handling of positive exponent ↵Josh Schneier
scientific notation. Backport of e8c45963296eb8bf3938bf9ece30b585a8cbb097 from master
2017-09-25[2.0.x] Merged startswith() calls.Mariusz Felisiak
Backport of 00709d704ee75ace99c4a81aa60e029caeeac387 from master
2017-09-25[2.0.x] Reverted "Fixed #28248 -- Fixed password reset tokens being valid ↵Tim Graham
for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS." This reverts commit 95993a89ce6ca5f5e26b1c22b65c57dcb8c005e9. Backport of 67a6ba391bbcf1a4c6bb0c42cb17e4fc0530f6d2 from master
2017-09-24[2.0.x] Fixed JS linter errorClaude Paroz
Regression introduced in 1f3dfd783d. Backport of c180abe6f1f663dcd2f1ed75590eb6aa6cb94276 from master.
2017-09-24[2.0.x] Updated translation catalogsClaude Paroz
2017-09-24[2.0.x] Refs #25006 -- Marked again admin time picker shortcuts for translationClaude Paroz
Backport of fe000ab18d2571394868882865907e92aabbda0a from master.
2017-09-22[2.0.x] Bumped version to 2.0 alpha 1.Tim Graham
2017-09-22Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵Nicolas Delaby
support. Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22Removed unused eof argument to BoundaryIter._find_boundary().Mariusz Felisiak
Unused since its introduction in d725cc9734272f867d41f7236235c28b3931a1b2.
2017-09-22Refs #28593 -- Made URLResolver._populate() more resilient to signal interrupts.Daniel Tao
_populate() sets the populating attribute to prevent infinite recursion in case a urlconf includes itself. The flag is a threadlocal to avoid a race condition [1] where one thread sets the flag and another checks it, then proceeds to access data that's supposed to be populated (e.g. _reverse_dict) but isn't yet. The potential still exists for a thread to set the threadlocal, then be interrupted by a signal such as SIGALRM and raise before resetting the threadlocal flag. In this scenario, subsequent calls to _populate() in the same thread will short-circuit erroneously. The bulk of the method was already wrapped in a try/finally in df41b5a, but since a signal interrupt can occur at any line executed by the interpreter, this moves up the try to ensure threadlocal gets reset. [1]: https://groups.google.com/d/msg/django-developers/D_bIeinKHjE/4NmVQUJqAgAJ
2017-09-21Refs #28595 -- Added a hook to add execute wrappers for database queries.Shai Berger
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak, Michael Manfre, and Tim Graham for discussion and review.
2017-09-21Fixed #28508 -- Set the foreground color to black in CSRF and 404 error ↵Stefan Sinca
templates.
2017-09-21Fixed #28576 -- Added color interpretation method to GDALBand.Niall Dalton
2017-09-20Fixed #28617 -- Made ogrinspect output pep8 compliant.Thomas Schorr
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20Fixed #28488 -- Reallowed error handlers to access CSRF tokens.Florian Apolloner
Regression in eef95ea96faef0b7dbbe0c8092202b74f68a899b.
2017-09-20Removed unused list in Query.resolve_lookup_value().Nicolas Delaby
Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17.
2017-09-19Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation.Tim Graham
2017-09-18Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary ↵Mariusz Felisiak
key in an Index's fields.
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵Johannes Hoppe
ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch.
2017-09-18Refs #14370 -- Vendored Select2 4.0.3 for use by the admin.Johannes Hoppe
From https://github.com/select2/select2/releases/tag/4.0.3
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch.
2017-09-18Changed default value of DatabaseFeatures.has_bulk_insert to True.Mads Jensen
2017-09-16Fixed #26818 -- Added responsive CSS for the admin.elky
2017-09-16Removed unneeded StdDev.convert_value() and Variance.convert_value().Sergey Fedoseev
Seems unneeded since its introduction in f59fd15c4928caf3dfcbd50f6ab47be409a43b01.
2017-09-16Simplified Count.convert_value() and RegrCount.convert_value().Sergey Fedoseev
2017-09-15Fixed #28334 -- Added caching for hstore/citext OIDs.Igor Gumenyuk
2017-09-15Removed unnecessary check in SQLCompiler.get_related_selections().Tim Graham
2017-09-13Removed unnecessary parens in various code.Mariusz Felisiak
2017-09-13Refs #28593 -- Moved django.conf.urls.include() to django.urls().Tim Graham
The old location remains for backwards compatibility. Documentation will be updated separately along with the rest of the URL routing changes.
2017-09-13Merged isinstance() calls.Mariusz Felisiak
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-09-12Refs #28569 -- Fixed gis_tests.inspectapp.tests.OGRInspectTest.test_time_field.Sergey Fedoseev