summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-22[2.0.x] Bumped trove classifier for 2.0 alpha 1.2.0a1Tim Graham
2017-09-22[2.0.x] Bumped version to 2.0 alpha 1.Tim Graham
2017-09-22[2.0.x] Removed empty sections in 2.0 release notes.Tim Graham
Backport of 559040f3d3552870cf010b5d10779ab30913d854 from master
2017-09-22[2.0.x] Updated man page for Django 2.0 alpha.Tim Graham
2017-09-22[2.0.x] Bumped django_next_version in docs config.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-21Added a test for QuerySet.select_related() reverse caching.Anssi Kääriäinen
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-21Added test for too large input to django.utils.http.base36_to_int().Mads Jensen
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-20Initialized CsrfViewMiddleware once in csrf_tests.Florian Apolloner
2017-09-20Added a checks test for valid i18n patterns.Tim Graham
2017-09-20Removed unused list in Query.resolve_lookup_value().Nicolas Delaby
Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17.
2017-09-19Fixed typo in docs/internals/deprecation.txt.Tim Graham
2017-09-19Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs.Johannes Hoppe
2017-09-19Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation.Tim Graham
2017-09-19Fixed typo in docs/topics/cache.txt.tk
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 #28610 -- Skipped test when serializer is not availableClaude Paroz
Thanks Tim Graham for the review.
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-18Added test skipping for a PostgreSQL JSONField test.Tim Graham
2017-09-18Changed default value of DatabaseFeatures.has_bulk_insert to True.Mads Jensen
2017-09-18Revert "Refs #21286 -- Enabled serializer tests with time pk model"Claude Paroz
This reverts commit 01c6a3e227b645e8dea97e9befecd23d1d3b8581. Unfortunately, the YAML serializer is not yet able to cope with time values.
2017-09-17Refs #21286 -- Enabled serializer tests with time pk modelClaude Paroz
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-15Refs #24031 -- Added test for When.__repr__().Mads Jensen
2017-09-14Fixed a Dutch translation in i18n tests.Tim Graham
2017-09-14Added a test for mixing args and kwargs in reverse().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
2017-09-12Fixed #28440 -- Fixed WSGIServer hang on responses without a Content-Length.Tom
Disabled keep-alive to fix the regression in e6065c7b8363202c5eb13ba10c97a8c24d014b45.
2017-09-12Moved contrib.gis.geometry.regex to contrib.gis.geometry.Tim Graham
2017-09-12Removed django.contrib.gis.geometry.backend.Tim Graham
The layer of indirection is unchanged and undocumented since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
2017-09-12Used sqlite3.Connection.load_extension() instead of query execution for ↵Sergey Fedoseev
SpatiaLite loading.
2017-09-11Added tests for DecimalValidator.Josh Schneier