Mariusz Felisiak
b6e48f514e
[2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
...
Regression in 1d070d027c
.
Backport of 4ab1f559e8
from master
2018-05-27 18:25:42 -04:00
Osaetin Daniel
158e7804e7
[2.1.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
...
Backport of cd242d185b
from master
2018-05-27 16:50:47 -04:00
Ramiro Morales
c56d94c02a
[2.1.x] Fixed #29417 -- Corrected two admin page titles for view-only users.
...
Backport of f40e71a957
from master
2018-05-27 16:38:26 -04:00
Daniel Hepper
13cb9d05a0
[2.1.x] Removed obsolete BaseHandler attributes.
...
Unused since d334f46b7a
.
Backport of 4e016d1372
from master
2018-05-27 13:45:22 -04:00
Daniel Hepper
4302911386
[2.1.x] Removed docs for obsolete ExceptionMiddleware.
...
Backport of a6fb5b1fe0
from master
2018-05-27 13:23:29 -04:00
Tim Graham
483f5d6c4f
[2.1.x] Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
...
This reverts commit b3cffde555
due to
a regression and performance concerns.
Backport of 5cc81cd9eb
from master
2018-05-26 21:07:19 -04:00
Xaroth Brook
39e61669e0
[2.1.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
...
Backport of 39283c8edb
from master
2018-05-26 20:29:29 -04:00
Markus Holtermann
40d8768158
[2.1.x] Refs #27098 -- Removed unused introspection queries.
...
Unused since 578711c310
.
Thanks Ian Foote for finding this.
Backport of e01fa015c0
from master
2018-05-26 16:30:14 +02:00
Ian Foote
a295666d37
[2.1.x] Fix typo in 2.0 release notes ( #9986 )
...
Backport of 257fb0a7d0
from master.
2018-05-26 16:18:50 +02:00
Srinivas Reddy Thatiparthy
ecb825abe2
[2.1.x] Fixed #29423 -- Documented Field.value_from_object().
...
Backport of 4c35a173e8
from master
2018-05-25 21:32:27 -04:00
Ryan Rubin
6b91152a10
[2.1.x] Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
...
Regression in 620e9dd31a
.
Backport of a8d12bc280
from master
2018-05-25 11:12:03 -04:00
Claude Paroz
3cca2ab2e7
[2.1.x] Documented DeletionMixin.delete().
...
Backport of 96ea4f875b
from master
2018-05-24 21:46:35 -04:00
Daniel Roseman
a53d6487b5
[2.1.x] Added help for common 404 error in tutorial 1.
...
Backport of 40ff93310f
from master
2018-05-21 13:14:19 -04:00
Bogdan Mateescu
a114906a18
[2.1.x] Fixed #29421 -- Improved Romanian locale formats
...
Backport of 392963e8e4
from master.
2018-05-20 17:13:25 +02:00
Paulo Alvarado
6cce05589d
[2.1.x] Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
...
Regression in 825f0beda8
.
Backport of ffb72a95bc
from master
2018-05-18 22:37:33 -04:00
bakabiko
54b29e022d
[2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+.
...
Backport of a7bc1aea03
from master
2018-05-18 19:38:10 -04:00
Tim Graham
452abf7b43
[2.1.x] Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models.
...
Backport of e038f98bf3
from master
2018-05-18 18:44:36 -04:00
Tim Graham
7e875aa047
[2.1.x] Fixed typo in docs/releases/2.1.txt.
...
Backport of 6574167ab8
from master
2018-05-18 07:24:27 -04:00
Tim Graham
c3bbebdd54
[2.1.x] Bumped version for Django 2.1 alpha 1.
2018-05-17 20:52:46 -04:00
Tim Graham
8ecfb6ea2a
[2.1.x] Bumped django_next_version in sphinx config to 2.2.
2018-05-17 20:49:30 -04:00
Tim Graham
2bb8f6b751
[2.1.x] Removed empty sections from 2.1 release notes.
...
Backport of 1cbd3d7874
from master
2018-05-17 10:44:14 -04:00
Tim Graham
253fcff90f
Updated man page for Django 2.1 alpha.
2018-05-17 09:30:20 -04:00
Claude Paroz
77f6340d3b
Updated translation catalogs
2018-05-17 12:09:40 +02:00
Philip James
437c4b57ac
Fixed #29410 -- Added project_urls to setup.py.
2018-05-16 22:08:38 -04:00
olivierdalang
825f0beda8
Fixed #8936 -- Added a view permission and a read-only admin.
...
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
Richard Morrison
35b6a348de
Added missing word to render_to_response deprecation warning.
2018-05-16 10:06:36 +02:00
Tim Graham
49a1736c2e
Added assertion for admin change form's "save and continue editing" message.
2018-05-15 20:17:02 -04:00
Andrew Godwin
0a8a6b4683
Add clarifying section about historical migration models
2018-05-15 12:20:25 -04:00
Claude Paroz
a177f854c3
Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.
...
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-15 18:12:11 +02:00
Ryan P Kilby
2dcc5d629a
Fixed #29392 -- Disallowed use of abbreviated forms of --settings and --pythonpath management command options.
2018-05-14 22:18:22 -04:00
Paulo
265506bbc3
Refs #28834 -- Moved ancestor field cached value fallback to related fields descriptor.
2018-05-14 21:17:02 -04:00
Tim Graham
cae0107287
Increased the default PBKDF2 iterations for Django 2.1.
2018-05-13 20:06:20 -04:00
Hasan Ramezani
31ce1f7433
Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.
2018-05-13 17:57:28 -04:00
T N
2405833c53
Fixed #29401 -- Updated admin's jQuery to 3.3.1.
2018-05-13 13:02:24 -04:00
Claude Paroz
d65b0f72de
Fixed #17379 -- Removed management commands deactivation of the locale.
2018-05-13 10:21:53 +02:00
Tim Graham
1e0cbc72e5
Moved to_language() to django.utils.translation.
...
Follow up to 1b7d524cfa
.
2018-05-12 15:03:38 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
Tim Graham
1b7d524cfa
Consolidated duplicate to_locale() implementations.
...
Follow up to ac59ec8f1a
.
2018-05-12 12:58:21 -04:00
Hasan Ramezani
305dee7bf9
Increased django.utils.translation.trans_null test coverage.
2018-05-12 11:23:44 -04:00
Hasan Ramezani
ac59ec8f1a
Aliased trans_null.to_locale() to trans_real.to_locale().
...
The implementations have unintentionally diverged.
2018-05-12 10:54:22 -04:00
Stefan R. Filipek
a5a2ceeb45
Fixed #27629 -- Added router.allow_relation() calls for assignments between unsaved model instances.
2018-05-10 20:42:44 -04:00
Claude Paroz
9c4ea63e87
Replaced TOKEN_* constants by TokenType enums.
...
Thanks Tim Graham for the review.
2018-05-10 17:51:51 +02:00
Claude Paroz
1e20fedb35
Upgraded OpenLayers to 4.6.5 for OpenLayersWidget
2018-05-10 16:25:37 +02:00
Maximilian Merz
78912ccd0e
Fixed #21408 — German Translation for “3 days ago”
...
The problem:
“3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”).
The solution:
Let `timesince` caller provide the string dict to use for the time-related strings.
2018-05-10 15:53:33 +02:00
Morgan Aubert
704443acac
Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().
2018-05-09 11:40:28 -04:00
Hasan Ramezani
7ba040de77
Added tests for trans_null.ngettext().
2018-05-09 09:54:41 -04:00
Nicolas Noé
c629d4e956
Fixed #29389 -- Made Paginator reject non-integer page numbers of type float.
2018-05-09 09:28:52 -04:00
Nicolas Noé
2134e7d439
Refs #29389 -- Added Paginator test for float page number.
2018-05-09 09:23:05 -04:00
Claude Paroz
3574a6d32f
Replaced context by comment in 2 humanize strings.
2018-05-09 09:46:38 +02:00
Tim Graham
7ac3008fe4
Refs #29350 -- Fixed 'invalid escape sequence' warning in SQLite introspection.
2018-05-08 10:42:24 -04:00