Commit Graph

25028 Commits

Author SHA1 Message Date
Claude Paroz cd6d18abc3 [2.0.x] Updated main translation catalog 2017-11-15 16:21:21 +01:00
Tim Graham 189d9b16c8 [2.0.x] Fixed test failures due to ordering differences on PostgreSQL 10.
Backport of 9bea555d06 from master
2017-11-15 09:41:56 -05:00
Simon Charette 0696edbc6a [2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.

Backport of ee85ef8315 from master
2017-11-15 07:58:36 -05:00
Tim Graham 022aebc550 [2.0.x] Fixed invalid escape sequence warning in check_framework test.
Backport of 532a4f22ad from master
2017-11-14 19:09:36 -05:00
Sergey Fedoseev 5638b77627 [2.0.x] Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.
Backport of 967450a3bf from master
2017-11-14 15:42:16 -05:00
Tim Graham 3f372ef9d3 [2.0.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6 from master
2017-11-14 12:57:18 -05:00
Mariusz Felisiak ca0a9c938f
[2.0.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284 from master
2017-11-12 14:31:21 +01:00
Tim Graham 3c8c3ff637 [2.0.x] Fixed #28777 -- Clarified the docs for admin.register's args.
Backport of abaf0ab4a4 from master
2017-11-09 21:22:03 -05:00
shanghui 36dd0126a5 [2.0.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d93730.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.

Backport of 359370a8b8 from master
2017-11-08 09:45:35 -05:00
Andrei Fokau a977ae9139 [2.0.x] Refs #28593 -- Updated old class names in comments following URL routing changes.
Backport of 3ae9c356c5 from master
2017-11-08 08:44:10 -05:00
Tim Graham c869207ea2 [2.0.x] Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
Thanks Hynek Cernoch for the report and review.

Backport of 327f0f37ce from master
2017-11-07 13:07:29 -05:00
Chris Lamb 518c11352c [2.0.x] Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
Backport of 998c9dd599 from master
2017-11-07 11:40:17 -05:00
Tim Graham 72f875541a [2.0.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 00b93c2b1e from master
2017-11-07 09:03:26 -05:00
Дилян Палаузов e68baf3862 [2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments.
Backport of 6c0042430e from master
2017-11-06 22:41:23 -05:00
Tim Graham bcaef2c91d [2.0.x] Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
Backport of 5587485d49 from master
2017-11-06 13:12:56 -05:00
Sergey Fedoseev a44fb4aa02 [2.0.x] Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes.
Backport of 8869142a4d from master
2017-11-04 10:56:38 -04:00
Sergey Fedoseev 9e12e02afd [2.0.x] Refs #17448 -- Fixed GeoModelTest.test_raw_sql_query.
The test was a false positive.

Backport of 69922d303d from master
2017-11-04 10:56:34 -04:00
Sergey Fedoseev 05232cda2f [2.0.x] Simplified GeometryField.select_format().
Backport of e9a370bb6a from master
2017-11-04 10:56:28 -04:00
Ondrej Kolimar c7b1224914 [2.0.x] Fixed #28768 -- Added Slovak char map for Javascript slug generation.
Backport of ba2c4ec7cc from master
2017-11-03 09:44:19 -04:00
Tim Graham 8c7dac6545 [2.0.x] Added stub release notes for 1.11.8.
Backport of ef718a72b3 from master
2017-11-01 21:36:53 -04:00
Tim Graham b9370ed683 [2.0.x] Added release date for 1.11.7.
Backport of 5f5425f74e from master
2017-11-01 21:13:29 -04:00
Tim Graham 2d2b49ed0a [2.0.x] Fixed #28759 -- Promoted the contributing guide in the docs for the django-developers mailing list.
Backport of c70086473e from master
2017-11-01 20:39:28 -04:00
Sam Morrow c9ce52820a [2.0.x] Fixed #28745 -- Added first and last page links to paginator docs example.
Backport of dcc0427c58 from master
2017-11-01 20:23:21 -04:00
Michał Pasternak e80a014fce [2.0.x] Fixed #28749 -- Added subquery support for ArrayField's __in lookup.
Backport of e554b72a2a from master
2017-11-01 15:40:32 -04:00
Tim Graham 29c97fa6b7 [2.0.x] Described how querysets are protected from SQL injection in more detail.
Backport of 6e8508734b from master
2017-11-01 11:53:15 -04:00
Tim Graham 7d3c02a214 [2.0.x] Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
Thanks Hynek Cernoch for the report and review.

Backport of 1e7dbbdec5 from master
2017-11-01 11:53:07 -04:00
Adam Johnson b40983a655 [2.0.x] Made assorted edits to docs/releases/2.0.txt.
Backport of 629dde8db1 from master
2017-11-01 11:22:55 -04:00
Tim Graham f1efedf01a [2.0.x] Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
Follow up to fee42fd99e.

Backport of 7945bc1d08 from master
2017-11-01 11:11:48 -04:00
Tim Graham cd37e47096 [2.0.x] Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
Backport of afd375fc34 from master
2017-11-01 11:06:56 -04:00
Charlie Denton 2e6dd975a2 [2.0.x] Fixed #28750 -- Allowed models to define Meta.manager_inheritance_from_future for backwards compatibility.
Refs 631f4ab061.

Backport of cbe334918a from master
2017-10-31 21:57:00 -04:00
Ville Skyttä 542e6b0207 [2.0.x] Refs #23919 -- Updated references to urllib.quote() to Python 3 location.
Backport of 23e551ce6c from master
2017-10-31 12:06:09 -04:00
Ville Skyttä 8a6392e4c6 [2.0.x] Fixed 'a'/'an' mix-ups in docs.
Backport of 617686e226 from master
2017-10-30 21:47:27 -04:00
Paulo f2d5417d3b [2.0.x] Fixed #28742 -- Fixed AttributeError crash when assigning None to cached reverse relations.
Backport of fcfcf8aae4 from master
2017-10-30 14:25:34 -04:00
Adam Johnson 1f4e9935ef [2.0.x] Removed docs for obsolete compatibility checks.
Backport of f8946fbb5d from master
2017-10-30 12:42:47 -04:00
Adam Johnson ea901eb9ad [2.0.x] Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends.
Backport of abacd09f07 from master
2017-10-30 12:24:29 -04:00
Ran Benita 6b5f2e3b79 [2.0.x] Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
Thanks Adam Chidlow for polishing the patch.

Backport of 03049fb8d9 from master
2017-10-28 21:42:51 -04:00
Botond Beres 5630f4e6ac [2.0.x] Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms.
Backport of 56b364bacc from master
2017-10-28 13:28:46 -04:00
Botond Beres 41009788a0 [2.0.x] Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable.
Backport of 51d7feff87 from master
2017-10-28 12:41:01 -04:00
Tim Baxter 6e2ace8c4e [2.0.x] Refs #28457 -- Removed unused .next-step CSS in django/views/templates/default_urlconf.html.
Backport of 73241132f2 from master
2017-10-28 08:01:13 -04:00
Tim Baxter 1b77eb07bb [2.0.x] Refs #28457 -- Updated the colors of the 'Congrats' page for WCAG AA compliance.
Backport of f6b5cecc71 from master
2017-10-28 08:01:03 -04:00
Samir Shah 791f7aa110 [2.0.x] Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
Follow up to ad393beeb7.

Backport of 6c98c5abdf from master
2017-10-28 07:49:25 -04:00
Duarte Fernandes ecfa7e570f [2.0.x] Fixed #28747 -- Fixed typos in django/conf/global_settings.py comments.
Backport of 019c2600a6 from master
2017-10-26 21:49:06 -04:00
Botond Beres 0eccbd2a8e [2.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of ec5f7cb92e from master
2017-10-25 19:03:58 -04:00
Botond Beres 854aec4801 [2.0.x] Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
Backport of 95a14cfc47 from master
2017-10-25 19:02:21 -04:00
Mariusz Felisiak f5184ae5dc [2.0.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.
Regression in f48bc7c3db.

Backport of 81e357a7e1 from master
2017-10-25 17:25:45 -04:00
Tim Graham 01987bc0b4 [2.0.x] Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
Thanks Tom Aratyn for the report.

Backport of 171c7cc863 from master
2017-10-25 14:21:27 -04:00
Tim Graham c4f518e484 [2.0.x] Suggested LoginView rather than @login_required as an alternative to authenticate().
Backport of 3642c3758b from master
2017-10-25 12:02:12 -04:00
Scot Hacker e3b59772ba [2.0.x] Fixed #28735 -- Fixed typo in django/views/templates/default_urlconf.html.
Backport of 6642a646f0 from master
2017-10-24 11:34:50 -04:00
Tim Graham 9f654ae63b [2.0.x] Removed Python 2 comment in ValidationError.
Backport of 7fb913c805 from master
2017-10-23 08:57:07 -04:00
Claude Paroz f6ea7c139f [2.0.x] Refs #14807 -- Removed unneeded mark_safe call
Backport of 68407e3545 from master.
2017-10-22 21:26:57 +02:00