Tim Graham
2fb602f581
[2.2.x] Used extlinks for Django's source code.
...
Backport of a68c029e22
from master.
2019-03-28 20:39:38 -04:00
Tim Graham
ffdacc5879
[2.2.x] Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs.
...
Backport of 8e675e2bd8
from master
2019-03-28 19:57:01 -04:00
Nick Pope
6ac921bab0
[2.2.x] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.
...
Backport of 07daa487ae
from master
2019-03-28 21:58:19 +01:00
Mariusz Felisiak
c910053a09
[2.2.x] Doc'd that HttpResponse accepts bytestrings.
...
Backport of e449c3a832
from master
2019-03-28 10:02:24 +01:00
Mariusz Felisiak
609b7f1123
[2.2.x] Fixed "byte string" typo in various docs and comments.
...
Backport of 881362986a
from master
2019-03-28 10:01:36 +01:00
Nick Pope
d7876fc999
[2.2.x] Updated spelling and RFCs in HttpOnly cookie flag docs.
...
Backport of 398afba084
from master.
2019-03-27 11:11:24 -04:00
Nick Pope
c04bd386d4
[2.2.x] Removed obsolete RFC from cookie docs.
...
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.
Backport of 2afd670de5
from master
2019-03-27 10:13:05 -04:00
Philipp Bosch
bca600339e
[2.2.x] Used monospace font in date template filter format character docs.
...
Helps distinguish between lowercase L and uppercase I.
Backport of 0b8abd7cdf
from master.
2019-03-21 10:20:35 -04:00
Tim Graham
1ef2216ff2
[2.2.x] Fixed #30277 -- Fixed broken links to packaging.python.org.
...
Backport of 8f1cc7e9e6
from master.
2019-03-21 10:08:23 -04:00
Carlton Gibson
19ab698937
[2.2.x] Fixed #30263 -- Doc'd changes to form Media sorting (refs #30179 ).
...
Thanks to Tim Graham for review.
Backport of 418263c457
from master
2019-03-18 16:27:36 +01:00
Paul Wayper
a48c0180f5
[2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
...
Backport of 1025e76429
from master.
2019-03-18 11:11:55 -04:00
alexanderblnf
14240e491e
[2.2.x] Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
...
Backport of 406de977ea
from master.
2019-03-12 13:33:52 -04:00
David Beitey
282961f553
[2.2.x] Clarified deconstruct() in Custom Model Field docs.
...
Backport of 9fd90c4088
from master.
2019-03-12 10:44:21 -04:00
Samuel Gaist
3e565b50a9
[2.2.x] Doc'd the use of --noinput for test database handling.
...
Backport of 75840688f9
from master.
2019-03-05 21:10:21 -05:00
Tobias Bengfort
18211d0a4d
[2.2.x] Clarified permission-related docs.
...
Backport of 632d4861dd
from master
2019-02-28 15:28:56 +01:00
Matthias Kestenholz
d59c3fc167
[2.2.x] Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint.
...
Backport of c41e6c4eb8
from master.
2019-02-25 15:00:27 -05:00
Tim Graham
8205116a79
[2.2.x] Refs #29683 -- Updated multi-db docs for view permission.
...
Backport of 50f09264ae
from master
2019-02-25 14:57:12 -05:00
Mariusz Felisiak
62f28f37bf
[2.2.x] Fixed documentation of database representation for ManyToManyField.
...
Backport of b0799f5d86
from master
2019-02-25 20:08:11 +01:00
Mariusz Felisiak
9278acfd12
[2.2.x] Fixed #30187 -- Moved "install Django" command to a console box.
...
Backport of edec11ce86
from master
2019-02-16 07:58:55 +01:00
Jon Dufresne
37cc6a9dce
[2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
...
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.
The error appeared after 8c775391b7
.
Backport of 76990cbbda
from master.
2019-02-14 10:05:13 -05:00
Tim Graham
07b44a251a
[2.2.x] Removed docs of unused libgeoip1/python-gdal packages.
...
Backport of 21f9d43737
from master.
2019-02-14 09:46:45 -05:00
Dan Davis
5e94c817ee
[2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.
...
Partially reverted 50b8493581
(refs #29654 )
to avoid a crash when the user shell doesn't support non-ASCII characters.
Backport of 2bd8df243a
from master.
2019-02-13 14:00:53 -05:00
Hasan Ramezani
f2b460231d
[2.2.x] Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.
...
Backport of f63811f481
from master.
2019-02-12 21:36:07 -05:00
Tim Graham
c3655b1528
[2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
...
Backport of 3b64e2b775
from master.
2019-02-12 18:35:03 -05:00
Claude Paroz
28a6046b54
[2.2.x] Doc'd database functions for overlaps lookup.
...
Backport of 8cf9dbee6a
from master
2019-02-12 15:43:11 -05:00
Jonatan Alexis Anauati
d2f942737c
[2.2.x] Fixed indentation in docs/topics/templates.txt.
...
Backport of 85ada61ac4
from master.
2019-02-11 16:52:41 -05:00
Tim Graham
74428138cc
[2.2.x] Added CVE-2019-6975 to the security release archive.
...
Backport of d6e5aad5c7
from master.
2019-02-11 16:14:50 -05:00
Tim Graham
f548ac7fa5
[2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.
...
Backport of 1b8f552b08
from master.
2019-02-11 15:52:15 -05:00
Carlton Gibson
1672ed5ccf
[2.2.x] Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases.
...
Backport of b39bd0aa6d
from master
2019-02-11 15:47:54 +01:00
Atul Varma
1092bf02e6
[2.2.x] Fixed typo in docs/releases/2.2.txt.
...
Backport of b6bb912e9c
from master.
2019-02-11 08:54:23 -05:00
Carlton Gibson
83ab3e2664
[2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
...
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.
Backport of 402c0caa85
from master
2019-02-11 11:10:38 +01:00
Tim Graham
b89d31d2dc
[2.2.x] Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive.
...
Backport of 56b50cbf73
from master.
2019-02-09 18:38:43 -05:00
Mariusz Felisiak
d03e5961aa
[2.2.x] Removed extra characters in docs header underlines.
...
Backport of 25829197bb
from master
2019-02-08 21:39:54 +01:00
Carlton Gibson
941109ccb3
[2.2.x] Added stub release notes for security releases.
...
Backport of 5cc6f02f91
from master
2019-02-07 15:47:52 +01:00
Mariusz Felisiak
0aff35459d
[2.2.x] Updated Oracle docs links to Oracle 18c.
...
Backport of 759a9b710c
from master
2019-02-07 10:03:11 +01:00
Andy Chosak
d293948938
[2.2.x] Refs #15372 -- Removed obsolete docs about manage.py setting sys.path.
...
Backport of 80f4ecc647
from master
2019-02-06 14:56:16 -05:00
Tim Graham
8eb913eabf
[2.2.x] Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs.
...
Backport of b709d70130
from master.
2019-02-05 20:19:32 -05:00
Daniel Hahler
0838cc0139
[2.2.x] Fixed duplicate word in docs/releases/2.0.txt.
...
Backport of fdc4518fe2
from master.
2019-02-04 18:30:29 -05:00
Tim Graham
d5b43d7226
[2.2.x] Refs #30055 -- Bumped minimum SQLite version in GIS docs.
...
Backport of 4763c97191
from master.
2019-02-04 11:47:15 -05:00
Tim Graham
6b3940b5a4
[2.2.x] Used extlinks for GitHub commits.
...
Backport of c34c6d0a2f
from master.
2019-02-01 15:49:31 -05:00
Daniel Roseman
a3ce94e96e
[2.2.x] Used LoginRequiredMixin in "Models and request.user" example.
...
Backport of 6da28d5edf
from master.
2019-01-31 18:02:13 -05:00
Robert Coup
953067d8dc
[2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
...
Backport of a8b03bea18
from master
2019-01-31 13:42:29 -05:00
Sergey Fedoseev
6187519236
[2.2.x] Corrected output of Prefetch.to_attr example.
...
Backport of ba7a420012
from master.
2019-01-31 09:09:34 -05:00
Carlton Gibson
89d39dc1d7
[2.2.x] Fixed #30091 -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS.
...
Backport of bae66e759f
from master.
2019-01-30 13:12:43 -05:00
Daniel Hahler
2789cc633f
[2.2.x] Fixed typo in docs/releases/2.2.txt.
...
Backport of 14581553e4
from master
2019-01-29 09:10:53 -05:00
Tim Graham
e8cb0dcc19
[2.2.x] Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
...
The addition of self.connection.check_constraints() in
7289874adc
is the cause.
Backport of fcfb730658
from master.
2019-01-28 10:30:36 -05:00
Sergey Fursov
56f7f5026d
[2.2.x] Fixed typo in docs/ref/request-response.txt.
...
Backport of 20ea68c4fe
from master.
2019-01-27 17:38:44 -05:00
Pavel Savchenko
51247bc55f
[2.2.x] Corrected GenericRelation's related_query_name manual lookup example.
...
And changed related_query_name to a singular noun.
Backport of 130192b12b
from master.
2019-01-21 10:14:03 -05:00
Tim Graham
a9feec5c70
[2.2.x] Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage.
...
Backport of 6713926ebe
from master
2019-01-17 18:35:46 -05:00
Day Barr
7185ea6902
[2.2.x] Fixed typo in QuerySet.bulk_update() documentation.
...
Backport of 51fa59f0b3
from master.
2019-01-17 12:32:22 -05:00
Carlton Gibson
4882921fb7
[2.2.x] Bumped django_next_version in docs config.
2019-01-17 16:26:35 +01:00
Carlton Gibson
a0c059995a
Removed empty sections from 2.2 release notes.
2019-01-17 16:25:02 +01:00
Carlton Gibson
ba1a3c6034
Updated man page for Django 2.2 alpha.
2019-01-17 16:25:02 +01:00
Santiago Basulto
4fc35a9c3e
Fixed #20147 -- Added HttpRequest.headers.
2019-01-16 13:38:47 -05:00
Arthur Rio
181fb60159
Fixed #11154 , #22270 -- Made proxy model permissions use correct content type.
...
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Collin Anderson
769355c765
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
2019-01-15 11:12:17 -05:00
David Beitey
885cb0d390
Fixed "lets" mistakes in docs.
2019-01-14 20:32:19 -05:00
Nick Pope
6d4efa8e6a
Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope
e85afa5943
Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope
c690afb873
Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Tom Forbes
c8720e7696
Fixed #27685 -- Added watchman support to the autoreloader.
...
Removed support for pyinotify (refs #9722 ).
2019-01-13 20:33:47 -05:00
Nick Pope
abf8e390a4
Refs #28643 -- Added Reverse database function.
...
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki
b69f8eb04c
Fixed #30062 -- Added support for unique conditional constraints.
2019-01-12 09:50:20 -05:00
can
7d3b3897c1
Refs #29738 -- Allowed registering serializers with MigrationWriter.
2019-01-11 18:13:16 -05:00
MaximZemskov
3c01fe30f3
Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
...
Restored backwards compatibility after refs #27991 .
Regression in be6ca89396
.
2019-01-11 18:02:43 -05:00
Sanyam Khurana
76d31be2d0
Refs #23829 -- Made ping_google command/function use https for the sitemap URL.
2019-01-11 10:32:22 -05:00
Sanyam Khurana
6d73278d38
Documented ping_google()'s ping_url argument.
2019-01-11 09:43:51 -05:00
Simon Charette
41e73de39d
Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
...
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Simon Charette
8c775391b7
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
2019-01-10 19:11:21 -05:00
Tim Graham
cf1fe22009
Fixed typos in docs/ref/models/constraints.txt.
2019-01-10 18:52:42 -05:00
Mads Jensen
4b9d72210f
Refs #28643 -- Added NullIf database function.
...
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-10 12:10:12 -05:00
Claude Paroz
31ebb1d564
Added Armenian language
2019-01-10 10:50:42 +01:00
Joshua Cannon
db1b10ef0d
Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().
2019-01-09 20:01:04 -05:00
Tim Graham
4ca2820ff5
Corrected whitespace in docs/ref/contrib/auth.txt.
2019-01-09 18:22:29 -05:00
Hasan Ramezani
52d06d3041
Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.
2019-01-09 17:54:46 -05:00
Simon Charette
bc05547cd8
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
2019-01-09 17:52:36 -05:00
Nick Pope
a35d2a4510
Refs #23748 -- Added AutoField introspection for SQLite.
2019-01-09 09:59:15 -05:00
Tim Graham
36fceeec88
Added stub 2.1.6 release notes.
2019-01-08 08:57:22 -05:00
Tim Graham
162ae9c914
Added CVE-2019-3498 to the security release archive.
2019-01-04 09:24:47 -05:00
Tom Hacohen
1ecc0a395b
Fixed #30070 , CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
...
Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03 21:21:55 -05:00
Jozef
5bbf31634f
Fixed typo in docs/ref/migration-operations.txt.
2019-01-02 17:56:25 -05:00
Tim Graham
02c07be95c
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
...
Thanks andreage for the report and suggested fix.
2019-01-01 09:42:14 -05:00
Paveł Tyślacki
0123b67f6b
Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEditor.
2019-01-01 09:39:58 -05:00
Paveł Tyślacki
bdf3863bdd
Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints.
2018-12-29 20:01:29 -05:00
Adam Johnson
b71e3d635a
Added examples to HttpRequest.build_absolute_uri() docs.
2018-12-29 19:44:45 -05:00
Matt Wiens
e817ae74da
Followed style guide for model attribute ordering.
2018-12-27 19:34:14 -05:00
Jon Dufresne
6fe9c45b72
Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data.
2018-12-27 11:19:55 -05:00
Vedran Karačić
293db9eb36
Updated OWASP Top 10 link to the latest version.
2018-12-27 09:23:40 -05:00
CHI Cheng
b7dbd5ff68
Fixed broken links to PyYAML page.
2018-12-27 10:48:37 +01:00
Marten Kenbeek
7a6dbbb655
Added import locations to contrib.postgres aggregates and validators docs.
2018-12-24 16:36:00 -05:00
Nick Pope
83677faf86
Fixed #30056 -- Added SQLite support for StdDev and Variance functions.
2018-12-24 11:14:58 -05:00
Sanyam Khurana
5d25804eaf
Fixed #20098 -- Added a check for model Meta.db_table collisions.
2018-12-24 10:40:11 -05:00
Nick Pope
e626a3f993
Renamed Sqlite and Sqlite3 references to SQLite.
2018-12-22 18:52:54 -05:00
Tim Graham
d5af14aa84
Fixed #30055 -- Dropped support for SQLite < 3.8.3.
2018-12-22 16:59:28 -05:00
Simon Charette
c5b58d7767
Refs #29928 -- Adjusted release notes of SQLite test constraint checking.
2018-12-22 14:32:40 -05:00
François Freitag
e671337e8b
Fixed #29750 -- Added View.setup() hook for class-based views.
2018-12-21 19:01:11 -05:00
Carlton Gibson
bbe28fa076
Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments.
2018-12-20 21:30:13 -05:00
Dakota Hawkins
8d3147e130
Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations.
2018-12-19 12:41:31 +01:00
Simon Charette
1939dd49d1
Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+.
...
Refs #11665 , #14204 .
Thanks Michel Samia for the report.
2018-12-17 11:03:44 +01:00
Simon Charette
315357ad25
Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
...
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.
SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.
Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-15 18:51:59 -05:00