Commit Graph

25002 Commits

Author SHA1 Message Date
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
Tomer Chachamu 57d46606ed [2.0.x] Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last.
Backport of 21a3a29dc9 from master
2017-10-21 21:00:30 -04:00
Tim Graham f9a01d40d5 [2.0.x] Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted.
Backport of 1a82fc245e from master
2017-10-20 15:03:36 -04:00
Tim Graham b952db6772 [2.0.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
Backport of eb9b56c5b6 from master
2017-10-20 14:03:47 -04:00
Collin Stedman 36b4def915 [2.0.x] Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure.
Backport of 4a861e8850 from master
2017-10-18 21:10:18 -04:00
Simon Charette 3640693914 [2.0.x] Fixed outdated comment in RelatedObjectDoesNotExist.
Backport of 0a69479b6c from master
2017-10-18 20:58:23 -04:00
Jonas Haag a831e4bad0 [2.0.x] Fixed #28711 -- Fixed unordered_list template filter with lazy translations.
Backport of d997ab7764 from master
2017-10-18 20:05:24 -04:00
Jonas Haag 673427d3fc [2.0.x] Refs #23260 -- Tested nested generator input to unordered_list template filter.
Backport of b21b1b10af from master
2017-10-18 19:46:07 -04:00
Eneko Illarramendi aed7fdc03b [2.0.x] Updated Basque (eu) locale formats.
Backport of 2346636b0c from master
2017-10-17 11:35:07 -04:00
Jozef 8cef9a5799 [2.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 3bd69b1261 from master
2017-10-17 10:07:33 -04:00
Simon Willison 9a2c2b7a68 [2.0.x] Made SearchQuery examples less sterotyped.
Backport of 346eb32861 from master
2017-10-17 09:59:01 -04:00
Simon Meers c678ff91b1 [2.0.x] Fixed typos in docs/releases/2.0.txt.
Backport of f771b24f00 from master
2017-10-17 08:02:42 -04:00
Tim Graham 7cc155a04c [2.0.x] Bumped version for 2.0 beta 1. 2017-10-16 21:39:18 -04:00
Tim Graham 9b3b7804d2 [2.0.x] Fixed #28497 -- Restored the ability to use sliced QuerySets with __exact.
Regression in ec50937bcb.

Thanks Simon Charette for review.

Backport of 1b73ccc4bf from master
2017-10-16 15:40:08 -04:00
Joe Arthur 04a92ebe49 [2.0.x] Fixed typo in MessageMiddleware.process_response() docstring.
Backport of 61a6245dc5 from master
2017-10-16 10:35:38 -04:00
Yuri Kaszubowski Lopes 325d3027db [2.0.x] Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from mutating get_user_permissions().
Backport of d98210c255 from master
2017-10-14 20:48:03 -04:00
Claude Paroz 6481795d63 [2.0.x] Refs #28710 -- Simplified l10n format test
Backport of c1fa6672dd from master.
2017-10-14 21:09:44 +02:00
Simon Charette cb42dc809b [2.0.x] Corrected examples in related field descriptor docstrings.
Using lowercased model class names suggested that accessing the attribute
from instances of the class returned an instance of the descriptor, but
this is only the case when accessed from the model class.

Backport of 9dd405973c from master
2017-10-13 16:07:51 -04:00
Tim Graham 53a3d2b245 [2.0.x] Updated email.Util (Python 2) references to email.utils (Python 3).
Backport of f2868f9739 from master
2017-10-13 15:36:44 -04:00
Claude Paroz 5595eccd4f [2.0.x] Fixed #28710 -- Fixed the Basque DATE_FORMAT string
Thanks Eneko Illarramendi for the report and initial patch.
Backport of 8c538871bd from master.
2017-10-13 19:50:18 +02:00
Tom 73d025a042 [2.0.x] Refs #28440 -- Fixed server connection closing test on macOS.
Backport of 32ade78c55 from master
2017-10-13 13:46:21 -04:00
Mariusz Felisiak 8b42a18b2d
[2.0.x] Refs #28643 -- Reorganized database functions docs.
Thanks Tim Graham for the review.

Backport of ad8036d715 from master
2017-10-13 18:38:50 +02:00
LeeHanYeong edd3601be6 [2.0.x] Removed incorrect reference to ModelChoiceField in Field.choices docs.
Backport of 3ffbd54566 from master
2017-10-13 11:10:51 -04:00
Paulo 5d3f2aa3f1 [2.0.x] Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.
Backport of a7b5ad8b19 from master
2017-10-12 17:29:53 -04:00
François Freitag 51998a2988 [2.0.x] Fixed #28679 -- Fixed urlencode()'s handling of bytes.
Regression in fee42fd99e.

Thanks Claude Paroz, Jon Dufresne, and Tim Graham for the guidance.

Backport of 41be85862d from master
2017-10-12 09:36:07 -04:00
François Freitag 2a55063dcc [2.0.x] Split django.utils.http tests into separate test classes.
Backport of 0e212a705e from master
2017-10-11 09:45:45 -04:00
Daniel Tao dc112bf530 [2.0.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None.
Backport of 4d60261b2a from master
2017-10-10 09:35:52 -04:00