Tim Graham
8a1768432b
Fixed #28552 -- Dropped support for MySQL 5.5.
2017-09-25 14:48:11 -04:00
Christopher Schäpers
6da140724d
Fixed #28627 -- Added slug converter to some path() examples in docs.
2017-09-25 13:06:11 -04:00
Mads Jensen
c0d968ea1f
Added a test for TranslatableFile.__eq__().
2017-09-25 10:22:38 -04:00
Mariusz Felisiak
00709d704e
Merged startswith() calls.
2017-09-25 09:18:29 -04:00
Tim Graham
67a6ba391b
Reverted "Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS."
...
This reverts commit 95993a89ce
.
2017-09-25 09:05:00 -04:00
Claude Paroz
c180abe6f1
Fixed JS linter error
...
Regression introduced in 1f3dfd783d
.
2017-09-24 17:51:50 +02:00
Claude Paroz
1f3dfd783d
Updated translation catalogs
...
Forward port of 600104172a
from stable/2.0.x.
2017-09-24 13:54:54 +02:00
Claude Paroz
fe000ab18d
Refs #25006 -- Marked again admin time picker shortcuts for translation
2017-09-24 13:41:51 +02:00
Tim Graham
d90936f41a
Refs #27788 -- Corrected minimum supported Oracle version in GIS docs.
2017-09-22 15:09:37 -04:00
Tim Graham
4a461d49c7
Advanced deprecation warnings for Django 2.1.
2017-09-22 12:51:19 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Tim Graham
2bd207ada0
Refs #15667 -- Removed support for Widget.render() methods without the renderer argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
ba42456c2e
Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
5bcca2a056
Refs #27532 -- Removed Model._meta.has_auto_field per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
48d57788ee
Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
4502489a46
Refs #18974 -- Removed @models.permalink() decorator per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
5e31be1b96
Refs #25187 -- Required the authenticate() method of authentication backends to have request as the first positional argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
578711c310
Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e62165b898
Refs #27175 -- Removed exception silencing from the {% include %} template tag.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
96107e2844
Refs #26956 -- Removed the host parameter of django.utils.http.is_safe_url().
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e47b56d791
Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS'].
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
87d2240e6c
Refs #27067 -- Removed django.utils.translation.string_concat() per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
9463a7a8cd
Refs #26840 -- Removed django.test.runner.setup_databases() per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
6e40b70bf4
Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_then_login().
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
4f313e284e
Refs #17209 -- Removed login/logout and password reset/change function-based views.
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
deb592b3e3
Added stub 2.1 release notes.
2017-09-22 12:51:17 -04:00
Tim Graham
92fad87958
Bumped version; master is now 2.1 pre-alpha.
2017-09-22 12:51:17 -04:00
Tim Graham
559040f3d3
Removed empty sections in 2.0 release notes.
2017-09-22 12:49:37 -04:00
Tim Graham
3926d5d406
Updated man page for Django 2.0 alpha.
2017-09-22 12:28:56 -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