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
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
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
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
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
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
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
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
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
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
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
Mads Jensen
d3e115151e
[2.0.x] Fixed #28423 -- Expanded docs for indexing contrib.postgres fields.
...
Backport of 22ff4f81b1 from master
2017-10-09 12:19:38 -04:00
Tim Graham
22bcb89917
[2.0.x] Moved link in "Features removed in 2.0" to be more specific.
...
Backport of 50de55f399 from master
2017-10-09 09:42:00 -04:00
François Freitag
3eb447d85b
[2.0.x] Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.
...
Follow up to fee42fd99e .
Backport of e3a30f2d16 from master
2017-10-09 08:55:06 -04:00
Tim Graham
ef5d86555d
[2.0.x] Added stub release notes for 1.11.7.
...
Backport of fd4698fe3f from master
2017-10-05 14:45:20 -04:00
Tim Graham
3b75af63ae
[2.0.x] Added release date for 1.11.6.
...
Backport of a8bcb8b509 from master
2017-10-05 14:14:25 -04:00
Tim Graham
cfde4ac3e7
[2.0.x] Refs #28677 -- Doc'd that on_delete is required in migrations.
...
Backport of 491eb56fd4 from master
2017-10-03 09:46:50 -04:00
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
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
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
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
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
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
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
Niall Dalton
4fe6588da3
Fixed #28576 -- Added color interpretation method to GDALBand.
2017-09-21 09:42:38 -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
Tim Graham
f86aa6656a
Fixed typo in docs/internals/deprecation.txt.
2017-09-19 10:09:01 -04:00