1
0
mirror of https://github.com/django/django.git synced 2025-04-16 21:34:37 +00:00

10919 Commits

Author SHA1 Message Date
Tim Graham
6b3940b5a4 [2.2.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2fc6d9bc55fb2db94b9ed40141babb15 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 6da28d5edfaee1858c8f7ae603a717aaa05e15cf 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 a8b03bea180e0660c0e159f3e7cf6192b512925f 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 ba7a420012799b26ec9e969d0276d2ccee93c1f5 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 bae66e759faee8513da4b11d3fd16b044b415bdb 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 14581553e4ce9918aeb427fee7e5d7b6681e4e85 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
7289874adceec46b5367ec3157cdd10c711253a0 is the cause.

Backport of fcfb7306586184f08c7f75c174f95b54a212320d 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 20ea68c4fea2beca258634ef026146d1555cc5b7 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 130192b12b63357a8f5ff448cd0edfa5a8094909 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 6713926ebe22172e50f283185f969275c326416d 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 51fa59f0b39b24d4a589e01a26e539c3134a6c42 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 be6ca89396c031619947921c81b8795d816e3285.
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