Stefan Schneider
eff5f837c9
[2.0.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
...
Backport of 08c8c3ead9
from master
2017-09-29 11:38:41 -04:00
Stefan Schneider
9f9a8a6c59
[2.0.x] Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt.
...
Backport of 293df73fb6
from master
2017-09-29 10:32:07 -04:00
Michael Käufl
acd870a75a
[2.0.x] Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt.
...
Backport of 259fec8de0
from master
2017-09-29 09:27:35 -04:00
Simon Charette
deb3b58b36
[2.0.x] Refs #28492 -- Defined aggregates' output_field at the class level.
...
Missed in 08654a99bb
.
Backport of f1b713024e
from master
2017-09-29 08:20:08 -04:00
Mariusz Felisiak
8368d5a400
[2.0.x] Fixed #28629 -- Made tree.Node instances hashable.
...
Regression in 508b5debfb
which
added Node.__eq__().
Backport of fc6528b25a
from master
2017-09-28 12:07:36 -04:00
Jon Ribbens
aff2df2427
[2.0.x] Fixed #28625 -- Distinguished DATABASES['TIME_ZONE'] from settings.TIME_ZONE.
...
Backport of 44f08422c8
from master
2017-09-28 10:17:46 -04:00
Josh Schneier
7c6590af5f
[2.0.x] Fixed #28562 -- Fixed DecimalValidator handling of positive exponent scientific notation.
...
Backport of e8c4596329
from master
2017-09-27 09:42:20 -04:00
Miguel
5b38d7e973
[2.0.x] Clarified StrIndex docs example.
...
Backport of 4a908c0cd2
from master
2017-09-27 09:28:35 -04:00
Christopher Schäpers
ecea60fee8
[2.0.x] Fixed #28627 -- Added slug converter to some path() examples in docs.
...
Backport of 6da140724d
from master
2017-09-25 13:11:07 -04:00
Mariusz Felisiak
c67dce911e
[2.0.x] Merged startswith() calls.
...
Backport of 00709d704e
from master
2017-09-25 09:18:44 -04:00
Tim Graham
e241b4e797
[2.0.x] Reverted "Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS."
...
This reverts commit 95993a89ce
.
Backport of 67a6ba391b
from master
2017-09-25 09:06:32 -04:00
Claude Paroz
d68744f6ad
[2.0.x] Fixed JS linter error
...
Regression introduced in 1f3dfd783d
.
Backport of c180abe6f1
from master.
2017-09-24 18:09:23 +02:00
Claude Paroz
600104172a
[2.0.x] Updated translation catalogs
2017-09-24 13:54:11 +02:00
Claude Paroz
9907f8a5fd
[2.0.x] Refs #25006 -- Marked again admin time picker shortcuts for translation
...
Backport of fe000ab18d
from master.
2017-09-24 13:45:58 +02:00
Tim Graham
dda37675db
[2.0.x] Refs #27788 -- Corrected minimum supported Oracle version in GIS docs.
...
Backport of d90936f41a
from master
2017-09-22 15:09:55 -04:00
Tim Graham
45cd53eee8
[2.0.x] Bumped trove classifier for 2.0 alpha 1.
2017-09-22 14:04:22 -04:00
Tim Graham
bf987b70d2
[2.0.x] Bumped version to 2.0 alpha 1.
2017-09-22 12:58:24 -04:00
Tim Graham
828d55c0d5
[2.0.x] Removed empty sections in 2.0 release notes.
...
Backport of 559040f3d3
from master
2017-09-22 12:50:22 -04:00
Tim Graham
08dfcd89f6
[2.0.x] Updated man page for Django 2.0 alpha.
2017-09-22 12:26:46 -04:00
Tim Graham
366df25778
[2.0.x] Bumped django_next_version in docs config.
2017-09-22 12:21:21 -04:00
Nicolas Delaby
01d440fa1e
Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support.
...
Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22 11:53:17 -04:00
Mariusz Felisiak
3f9d85d95c
Removed unused eof argument to BoundaryIter._find_boundary().
...
Unused since its introduction in d725cc9734
.
2017-09-22 10:47:14 -04:00
Daniel Tao
6f7279c4b1
Refs #28593 -- Made URLResolver._populate() more resilient to signal interrupts.
...
_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-22 10:16:05 -04:00
Anssi Kääriäinen
771e06af2a
Added a test for QuerySet.select_related() reverse caching.
2017-09-21 14:25:42 -04:00
Shai Berger
d612026c37
Refs #28595 -- Added a hook to add execute wrappers for database queries.
...
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak,
Michael Manfre, and Tim Graham for discussion and review.
2017-09-21 12:13:09 -04:00
Stefan Sinca
347551c2a1
Fixed #28508 -- Set the foreground color to black in CSRF and 404 error templates.
2017-09-21 10:23:23 -04:00
Mads Jensen
41a7876991
Added test for too large input to django.utils.http.base36_to_int().
2017-09-21 10:21:02 -04:00
Niall Dalton
4fe6588da3
Fixed #28576 -- Added color interpretation method to GDALBand.
2017-09-21 09:42:38 -04:00
Thomas Schorr
52eb5b289e
Fixed #28617 -- Made ogrinspect output pep8 compliant.
2017-09-20 21:03:14 -04:00
Sjoerd Job Postmus
df41b5a05d
Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
...
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-20 18:04:42 -04:00
Florian Apolloner
c4c128d67c
Fixed #28488 -- Reallowed error handlers to access CSRF tokens.
...
Regression in eef95ea96f
.
2017-09-20 16:22:18 -04:00
Florian Apolloner
77f82c4bf1
Initialized CsrfViewMiddleware once in csrf_tests.
2017-09-20 16:22:12 -04:00
Tim Graham
46dcdf9a29
Added a checks test for valid i18n patterns.
2017-09-20 10:23:28 -04:00
Nicolas Delaby
a30ef353e2
Removed unused list in Query.resolve_lookup_value().
...
Unneeded since its introduction in 4f138fe5a4
.
2017-09-20 09:50:14 -04:00
Tim Graham
f86aa6656a
Fixed typo in docs/internals/deprecation.txt.
2017-09-19 10:09:01 -04:00
Johannes Hoppe
f13bd32110
Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs.
2017-09-19 08:51:46 -04:00
Tim Graham
f7b0532ec0
Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation.
2017-09-19 07:04:31 -04:00
tk
e7adad27f3
Fixed typo in docs/topics/cache.txt.
2017-09-19 06:52:01 -04:00
Mariusz Felisiak
fb02ebe889
Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary key in an Index's fields.
2017-09-18 14:06:00 -04:00
Johannes Hoppe
94cd8efc50
Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
...
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
2017-09-18 13:48:02 -04:00
Johannes Hoppe
01a294f8f0
Refs #14370 -- Vendored Select2 4.0.3 for use by the admin.
...
From https://github.com/select2/select2/releases/tag/4.0.3
2017-09-18 13:47:50 -04:00
Claude Paroz
774f5548bd
Fixed #28610 -- Skipped test when serializer is not available
...
Thanks Tim Graham for the review.
2017-09-18 18:22:13 +02:00
Mads Jensen
d549b88050
Fixed #26608 -- Added support for window expressions (OVER clause).
...
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-18 09:42:29 -04:00
Tim Graham
da1ba03f1d
Added test skipping for a PostgreSQL JSONField test.
2017-09-18 09:19:26 -04:00
Mads Jensen
3939e2b4dc
Changed default value of DatabaseFeatures.has_bulk_insert to True.
2017-09-18 08:12:35 -04:00
Claude Paroz
256182c43d
Revert "Refs #21286 -- Enabled serializer tests with time pk model"
...
This reverts commit 01c6a3e227
.
Unfortunately, the YAML serializer is not yet able to cope with time values.
2017-09-18 09:34:21 +02:00
Claude Paroz
01c6a3e227
Refs #21286 -- Enabled serializer tests with time pk model
2017-09-17 19:29:33 +02:00
elky
dc37e8846e
Fixed #26818 -- Added responsive CSS for the admin.
2017-09-16 19:11:19 -04:00
Sergey Fedoseev
8f947730ca
Removed unneeded StdDev.convert_value() and Variance.convert_value().
...
Seems unneeded since its introduction in
f59fd15c49
.
2017-09-16 15:05:31 -04:00
Sergey Fedoseev
873858009c
Simplified Count.convert_value() and RegrCount.convert_value().
2017-09-16 14:31:51 +05:00