Mariusz Felisiak
1b3a900a69
Added stub release notes for 3.0.5.
2020-03-04 10:56:07 +01:00
Mariusz Felisiak
43f8ba1c7c
Fixed typo in docs/releases/1.11.29.txt.
2020-03-04 10:46:43 +01:00
Mariusz Felisiak
f37f9a0bf0
Added CVE-2020-9402 to security archive.
2020-03-04 09:59:07 +01:00
Mariusz Felisiak
6695d29b1c
Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions and aggregates on Oracle.
...
Thanks to Norbert Szetei for the report.
2020-03-04 09:04:50 +01:00
Hannes Ljungberg
65ab4f9f03
Fixed #31147 -- Added SearchHeadline to django.contrib.postgres.
2020-03-03 15:39:52 +01:00
Mariusz Felisiak
7b8fa1653f
Fixed #31150 -- Included subqueries that reference related fields in GROUP BY clauses.
...
Thanks Johannes Hoppe for the report.
Regression in fb3f034f1c
.
Co-authored-by: Simon Charette <charette.s@gmail.com>
2020-03-03 11:25:37 +01:00
Adam Johnson
3bd29a8a97
Documented default value of InlineModelAdmin.extra.
2020-03-03 09:05:27 +01:00
Claude Paroz
d4fff711d4
Fixed #31274 -- Used signing infrastructure in SessionBase.encode()/decode().
...
Thanks Mariusz Felisiak and Florian Apolloner for the reviews.
2020-03-02 12:16:48 +01:00
Mariusz Felisiak
a49c2b6bf0
Removed outdated note about not supporting partial indexes by Django.
...
Supported since a906c98982
.
2020-02-29 20:35:11 +01:00
Carlton Gibson
8b30360322
Fixed #31032 -- Updated admin browser support FAQ for 2020.
...
Following web standards, the modern _evergreen_ browsers are all
supported. This applies equally to mobile platforms. Assuming current
trends continue, this should be a sustainable policy.
Microsoft deprecated all versions of Internet Explorer. IE 11, the last
version, is described as a "compatibility solution" rather than a web
browser. Whilst it will receive security updates for the lifetime of
Windows 10 it's use is actively discouraged.
The IE 11 downloads page makes it clear: "We recommend you use the new
Microsoft Edge".
2020-02-28 12:39:14 +01:00
Valze
5bf28ac2ed
Fixed #31185 -- Fixed detecting of unique fields in ForeignKey/ForeignObject checks when using Meta.constraints.
2020-02-27 10:53:29 +01:00
Simon Charette
41ebe60728
Fixed #31312 -- Properly ordered temporal subtraction params on MySQL.
...
Regression in 9bcbcd599a
.
Thanks rick2ricks for the report.
2020-02-27 08:50:55 +01:00
Andrey Doroschenko
f1016814d8
Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.
2020-02-27 08:33:05 +01:00
Mariusz Felisiak
667f784baa
Removed hint from fields.E310 message in system check docs.
...
This is the only documented hint.
2020-02-26 12:00:52 +01:00
Ram Rachum
5b09354954
Fixed #31291 -- Renamed salt to mask for CSRF tokens.
2020-02-25 14:16:19 +01:00
Matheus Cunha Motta
0352a44dd6
Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
...
Follow up to 87b1ad6e73
.
2020-02-24 08:26:29 +01:00
Adam Johnson
a6b3938afc
Fixed #31182 -- Adjusted release notes for ASGI support.
2020-02-20 15:05:47 +01:00
Hasan Ramezani
b7795d7673
Fixed #30040 -- Used default permission name in docs examples to avoid confusion.
2020-02-19 15:39:47 +01:00
Yoo In Keun
4ef107e34f
Fixed typos in docs and a test comment.
2020-02-19 07:08:23 +01:00
Claude Paroz
4d973f5939
Refs #26601 -- Deprecated passing None as get_response arg to middleware classes.
...
This is the new contract since middleware refactoring in Django 1.10.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-02-18 20:03:44 +01:00
Carlton Gibson
3bbf9a489a
Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
2020-02-18 19:54:29 +01:00
Mariusz Felisiak
2a038521c4
Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle.
...
This caused misplacing parameters in logged SQL queries.
Regression in 79065b55a7
.
Thanks Hans Aarne Liblik for the report.
2020-02-18 11:45:12 +01:00
Keshav Kumar
f37d548ede
Fixed #20995 -- Added support for iterables of template names to {% include %} template tag.
...
Thanks Adam Johnson for the review.
2020-02-18 06:56:05 +01:00
Xavier Francisco
8690878507
Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table collision when database routers are installed.
...
Turned the error into a warning when database routers are installed.
2020-02-17 13:53:45 +01:00
Hasan Ramezani
2ab97af352
Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
2020-02-14 08:30:16 +01:00
yura
54b7af7eb4
Fixed #31250 -- Ignored processing instructions in assertXMLEqual()/assertXMLNotEqual().
2020-02-13 11:03:54 +01:00
Claude Paroz
da4923ea87
Refs #27468 -- Made PasswordResetTokenGenerator use SHA-256 algorithm.
2020-02-12 21:46:56 +01:00
Takuya Noguchi
c25a8c77d7
Fixed #31241 -- Clarified porting translations of the Django docs to docs.djangoproject.com.
2020-02-12 08:41:48 +01:00
Abhijeet Viswa
1712a76b9d
Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance.
...
Partly regression in 0107e3d105
.
2020-02-11 20:43:57 +01:00
Florian Apolloner
41a3b3d186
Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.
...
Thanks to Oskar Persson for the report.
2020-02-11 20:39:12 +01:00
Florian Apolloner
549445519c
Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
...
This reverts commit cce47ff65a
.
2020-02-11 20:39:12 +01:00
Jon Dufresne
e3f6e18513
Fixed #31253 -- Fixed data loss possibility when using caching from async code.
...
Case missed in a415ce70be
.
2020-02-11 09:09:25 +01:00
Adam Johnson
382af9b141
Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create().
2020-02-10 08:36:50 +01:00
Mariusz Felisiak
7e8339748c
Added stub release notes for 2.2.11.
2020-02-10 08:18:58 +01:00
Mariusz Felisiak
932bd794b2
Added "Bugfixes" section to release notes for 3.0.4.
2020-02-10 08:14:58 +01:00
Simon Charette
430e796980
Refs #31055 -- Made DiscoverRunner skip running system checks on unused test databases.
2020-02-07 11:01:31 +01:00
Simon Charette
0b83c8cc4d
Refs #31055 -- Added --database option to the check management command.
...
This avoids enabling the ``database`` checks unless they are explicitly
requested and allows to disable on a per-alias basis which is required
when only creating a subset of the test databases.
This also removes unnecessary BaseCommand._run_checks() hook.
2020-02-07 11:01:31 +01:00
Jon Dufresne
f48f671223
Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor().
...
It is now a method instead of a property and returns a context manager
that yields a cursor on entry and closes the cursor and connection upon
exit.
2020-02-06 15:29:38 +01:00
Adam Johnson
72b97a5b1e
Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.
2020-02-05 14:39:01 +01:00
Adam Johnson
de1924e0e7
Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
2020-02-05 12:46:14 +01:00
Nick Pope
335c9c94ac
Simplified imports from django.db and django.contrib.gis.db.
2020-02-04 13:20:06 +01:00
Adam Johnson
469bf2db15
Fixed #31210 -- Doc'd how to reproduce HttpRequest.is_ajax() in release notes.
2020-02-04 12:21:48 +01:00
Adam Johnson
85cb59cba9
Fixed typo in docs/releases/3.1.txt.
2020-02-04 12:21:45 +01:00
Claude Paroz
8ae84156d6
Fixed #27604 -- Used the cookie signer to sign message cookies.
...
Co-authored-by: Craig Anderson <craiga@craiga.id.au>
2020-02-04 08:05:02 +01:00
Vibhu Agarwal
6f9ecc23f6
Fixed #31226 -- Fixed typo in docs/internals/contributing/writing-code/submitting-patches.txt.
2020-02-03 20:16:06 +01:00
Vibhu Agarwal
1a09708dcb
Fixed #31222 -- Fixed typo in docs/internals/contributing/bugs-and-features.txt.
2020-02-03 11:02:58 +01:00
Carlton Gibson
273918c25b
Added stub release notes for 3.0.4.
2020-02-03 10:23:54 +01:00
Carlton Gibson
d8b2ccbbb8
Added CVE-2020-7471 to security archive.
2020-02-03 10:11:34 +01:00
Carlton Gibson
1a2600d8df
Added release date for 3.0.3.
2020-02-03 08:52:16 +01:00
Simon Charette
eb31d84532
Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter.
2020-02-03 08:49:13 +01:00
Hasan Ramezani
a97111eabf
Fixed 31207 -- Prevented references to non-local remote fields in ForeignKey.to_field.
...
Thanks Simon Charette for the initial patch and review.
2020-01-31 10:19:12 +01:00
Claude Paroz
8c0c0235b6
Added tests for signing non-string values and updated docs.
2020-01-30 11:58:39 +01:00
Abhijeet
1a9459b88e
Fixed #28290 -- Enabled Sphinx auto-label generation for title and section headers.
2020-01-29 14:34:14 +01:00
Abhijeet
a45c8d7ad0
Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
2020-01-29 10:34:34 +01:00
Mariusz Felisiak
5978de2ec0
Updated the GeoJSON format specification link to RFC 7946.
2020-01-29 09:35:18 +01:00
Mariusz Felisiak
0ac8ac8b0d
Refs #25778 -- Updated some links to HTTPS and new locations.
2020-01-29 09:34:37 +01:00
Jon Dufresne
958977f662
Fixed #31212 -- Updated psycopg links to HTTPS and new location.
2020-01-29 06:25:40 +01:00
Jon Dufresne
32166a9f7c
Refs #25778 -- Updated sphinx-doc.org links to HTTPS.
2020-01-29 06:04:15 +01:00
Nick Pope
c9bf1910e2
Refs #30997 -- Added link to Fetch API in release notes.
2020-01-28 08:37:41 +01:00
Claude Paroz
e348ab0d43
Fixed #30997 -- Deprecated HttpRequest.is_ajax().
2020-01-27 08:54:32 +01:00
Claude Paroz
7fa0fa45c5
Refs #30997 -- Removed HttpRequest.is_ajax() usage.
2020-01-27 08:52:40 +01:00
Claude Paroz
d66d72f956
Refs #30997 -- Added HttpRequest.accepts().
2020-01-24 14:24:59 +01:00
Roy Smith
cf493e5c81
Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.
2020-01-24 12:21:04 +01:00
Hasan Ramezani
b94764e178
Fixed #27888 -- Added link to clear all filters in the admin changelist view.
2020-01-23 14:14:54 +01:00
Michael Mulholland
5a68a223c7
Fixed #31200 -- Added system checks for permissions codenames max length.
2020-01-23 12:22:59 +01:00
Adam Johnson
971a84d6af
Clarified AppConfig.ready() docs example.
2020-01-22 13:45:22 +01:00
Eugene Hatsko
0b013564ef
Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key.
...
Regression in dffa3e1992
.
2020-01-22 07:54:16 +01:00
Adam Johnson
e4bc4f26b2
Made examples concrete in upgrade documentation.
2020-01-21 13:02:14 +01:00
Claude Paroz
c7b97ac3a7
Added missing backtick in instances docs.
2020-01-17 20:26:36 +01:00
Adam Johnson
26be53dd89
Added note about incomplete HTML in tutorial 3.
2020-01-17 15:28:31 +01:00
Carlton Gibson
56071826bb
Refs #30752 -- Doc'd error reporting related optional request attributes.
2020-01-17 15:11:43 +01:00
Takayuki Hirayama
73563183c2
Fixed #31171 -- Fixed wording in auto-escaping section of custom template tags docs.
2020-01-17 09:20:44 +01:00
Pavel Lysak
13e4abf83e
Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.
2020-01-16 15:25:49 +01:00
Anael Mobilia
a5a28de89d
Added apps.py to project from tutorials in reusable apps docs.
2020-01-16 14:51:27 +01:00
Flavio Curella
d08d4f464a
Fixed #30765 -- Made cache_page decorator take precedence over max-age Cache-Control directive.
2020-01-16 13:39:16 +01:00
Carlton Gibson
7400da49a5
Clarified backport policy for regressions.
2020-01-15 15:52:03 +01:00
Carlton Gibson
29c126bb34
Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
...
Regression in 2d38eb0ab9
2020-01-15 15:35:22 +01:00
Mariusz Felisiak
d202846ced
Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
2020-01-15 15:07:07 +01:00
Carlton Gibson
927c903f3c
Refs #31097 -- Added release notes for 2f565f84ac
.
...
.
2020-01-14 14:35:28 +01:00
Daniel Hahler
20debf01bd
Fixed typo in docs/ref/django-admin.txt.
2020-01-13 12:39:14 +01:00
Carlton Gibson
1f4b9f4f1f
Removed unused ExceptionReporterFilter class.
...
Unused since 8f8c54f70b
.
2020-01-11 20:18:38 +01:00
Mariusz Felisiak
6f7998adc7
Fixed #31155 -- Fixed a system check for the longest choice when a named group contains only non-string values.
...
Regression in b6251956b6
.
Thanks Murat Guchetl for the report.
2020-01-11 19:47:36 +01:00
Adam Donaghy
8b3e714ecf
Fixed #30980 -- Improved error message when checking uniqueness of admin actions' __name__.
...
Thanks Keshav Kumar for the initial patch.
2020-01-10 14:00:28 +01:00
Carlton Gibson
e2d9d66a22
Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter.
...
Co-authored-by: Ryan Castner <castner.rr@gmail.com>
2020-01-10 11:35:41 +01:00
Carlton Gibson
581ba5a948
Refs #23004 -- Allowed exception reporter filters to customize settings filtering.
...
Thanks to Tim Graham for the original implementation idea.
Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com>
2020-01-10 11:21:23 +01:00
Adam Johnson
5166097d7c
Fixed #31154 -- Added support for using enumeration types in templates.
...
Enumeration helpers are callables, so the template system tried to call
them with no arguments.
Thanks Rupert Baker for helping discover this.
2020-01-10 07:52:06 +01:00
Kal Sze
aa6c620249
More accurate terminology ("logger" instead of "logging handler") in logging documentation.
2020-01-09 15:27:34 +01:00
Jack Cushman
eb629f4c02
Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate no match.
2020-01-09 14:41:41 +01:00
KHMANJUNATH
ceecd0556d
Improved ReST formatting in docs/README.rst.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-01-09 14:10:27 +01:00
Someoneece
6c9c823e7a
Renamed docs/README to README.rst.
2020-01-09 08:18:44 +01:00
Jack Cushman
196009c72c
Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
2020-01-08 10:55:06 +01:00
Shubham singh
ffcf1a8ebf
Fixed #31118 -- Made FileInput to avoid the required attribute when initial data exists.
2020-01-08 09:15:31 +01:00
Mariusz Felisiak
53d8646f79
Fixed #31141 -- Relaxed system check of translation settings for sublanguages.
...
Regression in 4400d8296d
.
Thanks Enrique Matías Sánchez for the report.
2020-01-08 08:05:43 +01:00
Claude Paroz
188b003014
Fixed #15982 -- Added DATE_INPUT_FORMATS to forms.DateTimeField default input formats.
2020-01-07 11:08:40 +01:00
Mark Bailey
0f0abc20be
Fixed #31103 -- Improved pagination topic documentation.
2020-01-07 09:57:38 +01:00
Adam Johnson
2ea3fb3e63
Removed "Don't do that" from docs and error messages.
...
It's slightly aggressive and doesn't explain itself.
2020-01-06 13:50:43 +01:00
Claude Paroz
1487f16f2d
Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs.
...
Thanks José Padilla for the initial patch, and Carlton Gibson for the
review.
2020-01-06 10:52:09 +01:00
Claude Paroz
b23fb2c819
Corrected notes about default date/datetime/time input formats.
2020-01-06 09:44:12 +01:00
Mariusz Felisiak
0f843fdd5b
Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().
...
Regression in fb3f034f1c
.
Thanks Sigurd Ljødal for the report.
2020-01-04 20:49:11 +01:00
Simon Charette
9bcbcd599a
Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.
...
The subtract_temporals() database operation was not handling expressions
returning SQL params in mixed database types.
Regression in 3543129822
.
Thanks Reupen Shah for the report.
2020-01-03 10:35:08 +01:00
Federico Jaramillo Martínez
372eaa395f
Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.
...
Thanks Simon Charette and Carlton Gibson for reviews.
Co-Authored-By: Jonas Haag <jonas@lophus.org>
Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
2020-01-03 07:58:04 +01:00
Marya Belanger
03f6159407
Fixed typo in docs/index.txt.
...
First steps section is no longer below tutorials overview.
2020-01-03 07:53:31 +01:00
Mariusz Felisiak
69331bb851
Added stub release notes for 3.0.3.
2020-01-02 08:36:08 +01:00
Mariusz Felisiak
434a81d320
Added release date for 3.0.2.
2020-01-02 07:55:53 +01:00
Mariusz Felisiak
ef1286e3e3
Fixed typo in ref/forms/widgets.txt.
2020-01-02 07:46:29 +01:00
Gabriel Augendre
307c63f9a7
Fixed #30780 -- Improved visibility of Getting Help FAQ in tutorials.
2019-12-31 08:54:26 +01:00
Gabriel Augendre
c07b4bce2c
Refs #30780 -- Moved "First steps" section to the top of index page.
2019-12-31 08:14:45 +01:00
Sjbrgsn
b2bd08bb7a
Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".
...
Thanks Luis Nell for the implementation idea and very detailed report.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-30 20:47:22 +01:00
Farhaan Bukhsh
cf5d4701dc
Fixed #30819 -- Fixed year determination in admin calendar widget for two-digit years.
...
Two-digit years in the range of [00, 68] are in the current century,
while [69,99] are in the previous century, according to the Open Group
Specification.
2019-12-30 13:06:29 +01:00
Mads Jensen
ea44d86ed4
Added guidelines for assertIs() usage.
2019-12-30 11:25:18 +01:00
Simon Charette
9e14bc2135
Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
2019-12-30 07:49:10 +01:00
Simon Charette
5779cc938a
Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
...
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.
Regression in 85458e94e3
.
Thanks Reupen Shah for the report.
2019-12-30 07:49:10 +01:00
Mariusz Felisiak
22ce5d0031
Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK constraints inline and changing data.
...
This allows adding foreign key constraints inline and changing data in
the same migration on PostgreSQL 10+.
Regression in 738faf9da2
.
Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
2019-12-23 23:28:59 +01:00
Jon Dufresne
5e00bd1f77
Removed unnecessary code-block directives in various docs.
2019-12-23 14:47:13 +01:00
Jon Dufresne
67ea35df52
Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ChoiceWidget.create_option().
2019-12-23 10:34:50 +01:00
Jon Dufresne
5da85ea737
Refs #30998 -- Doc'd ModelChoiceField/ModelMultipleChoiceField.iterator attributes and ModelChoiceIterator.
2019-12-23 10:08:59 +01:00
Simon Charette
720de4d044
Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().
...
Clearing the SELECT clause in Query.has_results was orphaning GROUP BY
references to it.
Thanks Thierry Bastian for the report and Baptiste Mispelon for the
bisect.
Regression in fb3f034f1c
.
2019-12-23 09:24:03 +01:00
Taoup
cebd41e416
Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.
2019-12-21 20:33:04 +01:00
Katie McLaughlin
abeb4599af
Refs #30767 -- Improved deployment documentation.
2019-12-20 10:42:56 +01:00
Garry Polley
0b698eaea6
Added example of assertNumQueries() with "using" kwarg in testing topics docs.
2019-12-20 08:07:36 +01:00
Garry Polley
d216e67b0c
Removed outdated information from contrib.sites docs.
2019-12-20 07:53:35 +01:00
Nick Pope
d8b6a76bc7
Refs #28954 -- Remove remaining Jython documentation.
...
There is still no further progress on Jython 3 since support for Jython
was stripped in Django 2.0. The developers experimenting with Jython 3
have stated that they would need to start from scratch, so it doesn't
look as though it will materialize for years to come.
Python 2 and Django 1.11, the last version to support Python 2.7, will
both be end-of-life before Django 3.1 is released. We should no longer
instruct users to use an unsupported version of Django.
2019-12-19 16:42:12 +01:00
Simon Charette
5a4d7285bd
Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggregations.
...
Thanks Johannes Hoppe for the report.
Regression in fb3f034f1c
.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-19 10:04:56 +01:00
Mike Hansen
d291c72bf2
Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.
2019-12-18 13:15:38 +01:00
Hasan Ramezani
70d95682b1
Corrected some typos in documentation.
2019-12-18 11:36:27 +01:00
Mariusz Felisiak
50a69efb2e
Added stub release notes for 3.0.2.
2019-12-18 10:51:57 +01:00
Adam Johnson
ef3baf966d
Updated Pytest example in upgrade documentation.
...
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009 . Also link the name since this is the only reference in the Django documentation at current.
2019-12-18 10:42:41 +01:00
Mariusz Felisiak
5a2b9f0b54
Added CVE-2019-19844 to the security archive.
2019-12-18 10:36:22 +01:00
Simon Charette
5b1fbcef7a
Fixed CVE-2019-19844 -- Used verified user email for password reset requests.
...
Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-18 09:11:39 +01:00
Shubham singh
f4647179cc
Fixed #31086 -- Improved error message for admin model inlines with more than one foreign key to the same parent.
2019-12-17 09:15:01 +01:00
James Turk
ff00a05347
Fixed #31088 -- Added support for websearch searching in SearchQuery.
2019-12-16 14:59:59 +01:00
Rabah Saadi
5b7450080f
Added Algerian Arabic language.
2019-12-14 16:26:31 +01:00
Jon Dufresne
3fe5d0128b
Rewrote CSRF JavaScript example without jQuery.
2019-12-12 16:34:03 +01:00
Hasan Ramezani
9736137cdc
Fixed #31069 , Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
2019-12-12 14:24:10 +01:00
Osaetin Daniel
b33bfc3839
Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'.
...
Thanks Florian Apolloner and Carlton Gibson for reviews.
2019-12-12 10:52:31 +01:00
Osaetin Daniel
14e690ae5a
Doc'd HttpResponse.set_cookie()'s secure argument.
2019-12-12 10:52:31 +01:00
Osaetin Daniel
15c5875e69
Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
2019-12-12 10:52:31 +01:00
Hasan Ramezani
52018e1615
Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
2019-12-12 10:19:09 +01:00
Mariusz Felisiak
ec12c37384
Refs #31073 -- Added release notes for 02eff7ef60
.
2019-12-11 10:07:41 +01:00
Jon Dufresne
e703b93a65
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
2019-12-11 09:49:54 +01:00
Baptiste Mispelon
9e565386d3
Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.
2019-12-09 13:47:12 +01:00
Ali Mirlou
663bb435de
Fixed typo in docs/releases/3.0.1.txt.
2019-12-09 07:57:36 +01:00
Alex Aktsipetrov
bf12273db4
Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters.
...
Regression in 4edad1ddf6
.
Thanks utapyngo for the report.
2019-12-06 13:52:16 +01:00
Jon Dufresne
5708327c37
Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin.
...
Unify on the entry point created by setuptools entry_points feature.
2019-12-06 12:11:44 +01:00
Mariusz Felisiak
82a88d2f48
Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
...
Regression in 76b993a117
.
Thanks Claude Paroz for the report and Carlton Gibson for reviews.
2019-12-06 09:32:51 +01:00
Hasan Ramezani
5d674eac87
Fixed #31039 -- Added support for contained_by lookup with AutoFields, SmallIntegerField, and DecimalField.
2019-12-05 15:50:39 +01:00
Gordon Pendleton
adb9661789
Fixed #31010 -- Allowed subdomains of localhost in the Host header by default when DEBUG=True.
2019-12-05 09:44:45 +01:00
Mariusz Felisiak
3930ec1bf2
Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.
2019-12-05 08:38:39 +01:00
jsals1
1f62c008d1
Fixed typo in docs/releases/3.0.txt.
2019-12-05 07:55:20 +01:00
Aymeric Augustin
c06492dd87
Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL.
2019-12-04 18:22:08 +01:00
Aymeric Augustin
ad88524e4d
Refs #23524 -- Unified BaseDatabaseWrapper.timezone.
...
There was a special case in this property to return None when the
database backend supports time zone. However, only the PostgreSQL
backend supports time zones and it never uses this property.
2019-12-04 18:07:51 +01:00
Felipe Lee
a2e96f7969
Fixed #20456 -- Added example of directly testing CBVs in topics docs.
2019-12-04 16:36:42 +01:00
Uttam Kini
d646e3d14f
Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.
2019-12-04 13:41:29 +01:00
Fredrik
c3ee42d663
Refs #20935 -- Removed inappropriate crosslink to docs search results page.
...
The link to the search page does not work in the Epub, since there is no such thing. In the online docs, the link to the search page displays a “No search query given” error, since its purpose is to display results from the search bar. Alone, without a query, it's just empty.
2019-12-04 11:36:40 +01:00
Fredrik
98188cb33d
Refs #20935 -- Removed duplicate ToC references.
...
These sections are being referred to already from other locations. Having multiple references to the same location from the ToC is ambiguous, and causes errors in the EPUB build.
2019-12-04 11:36:40 +01:00
Mariusz Felisiak
95ae1a9f8c
Fixed #31059 -- Fixed typo in docs/releases/3.0.txt.
2019-12-04 09:22:51 +01:00
Claude Paroz
d83b585e5c
Removed leftover word in CBV mixins docs.
2019-12-04 08:59:44 +01:00
Hasan Ramezani
b1d39131eb
Fixed typo in internals/contributing/writing-documentation.txt.
2019-12-03 20:11:54 +01:00
Baptiste Mispelon
26cab4e8c1
Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept callable values in through_defaults.
2019-12-03 19:47:38 +01:00
Andrew Godwin
c90ab30fa1
Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable.
2019-12-03 17:29:31 +01:00
Andrew Godwin
635a3f8e6e
Refs #30451 -- Doc'd asynchronous support and async-safety.
2019-12-03 17:29:10 +01:00
Claude Paroz
b92d101bd8
Fixed typo in topics docs
2019-12-03 16:49:57 +01:00
Mariusz Felisiak
908c67e719
Added stub release notes for 3.0.1.
2019-12-02 21:43:59 +01:00
Ryan Cheley
a1f14ee3e5
Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
2019-12-02 13:07:38 +01:00
Carlton Gibson
3b347a8a00
Finalized release notes for Django 3.0.
2019-12-02 11:54:32 +01:00
Carlton Gibson
900ea762e5
Added CVE-2019-19118 to the security archive.
2019-12-02 11:42:24 +01:00
Carlton Gibson
368b8d20aa
Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
2019-12-02 09:46:25 +01:00
Carlton Gibson
e31d185267
Added release dates for 2.1.15, 2.2.8 and 3.0.
2019-12-02 09:10:15 +01:00
Carlton Gibson
11c5e0609b
Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
...
Thank you to Shen Ying for reporting this issue.
2019-12-02 08:56:08 +01:00
Mariusz Felisiak
39e39d0ac1
Refs #30953 -- Added 2.1.15 release note for 0107e3d105
.
2019-12-02 08:10:39 +01:00
Mariusz Felisiak
0107e3d105
Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
...
Thanks Abhijeet Viswa for the report and initial patch.
2019-12-02 07:57:19 +01:00
Mariusz Felisiak
e8fcdaad5c
Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
...
Regression in 98296f86b3
.
2019-11-29 08:23:01 +01:00
Baptiste Mispelon
ff1b19da67
Fixed #31029 -- Used more specific links to RFCs.
2019-11-27 20:54:38 +01:00
Baptiste Mispelon
42df1b178b
Refs #31029 -- Added note about :rfc: role in writing documentation docs.
2019-11-27 20:52:28 +01:00
Farhaan Bukhsh
1f817daa20
Fixed #30803 -- Allowed comma separators for milliseconds in django.utils.dateparse functions.
...
Co-Authored-By: Ben Wilber <benwilber@gmail.com>
2019-11-27 09:43:12 +01:00
Farhaan Bukhsh
42b23d1e79
Refs #30803 -- Allowed comma separators for decimal fractions in parse_duration().
2019-11-27 09:43:12 +01:00
Mariusz Felisiak
a36f7ed6ac
Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
2019-11-27 07:36:20 +01:00
Adam Johnson
7742cc0c8f
Improved custom MultiWidget example in docs.
2019-11-26 18:11:00 +01:00
Sergey Fedoseev
abc51d44af
Used 🎫 role in all tickets links.
2019-11-26 14:02:24 +01:00
Baptiste Mispelon
52936eface
Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
...
Regression in b18650a263
.
2019-11-26 08:48:10 +01:00
Sergey Fedoseev
5573a54d40
Updated link to IBM DB2 backend.
...
See https://github.com/ibmdb/python-ibmdb/pull/375
2019-11-25 20:59:42 +01:00
Baptiste Mispelon
89d41cba39
Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
2019-11-25 10:33:33 +01:00
Sergey Fedoseev
85c5989007
Doc'd SpatiaLite support of 3D geometry fields.
...
Support was added in 65129aac07
.
2019-11-25 09:29:50 +01:00
Jon Dufresne
a69c4d626a
Refs #25388 -- Corrected value of TEST MIGRATE setting in MIGRATION_MODULES docs.
2019-11-25 08:42:35 +01:00
Baptiste Mispelon
9f1ec9efc3
Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
2019-11-25 08:12:50 +01:00
Sergey Fedoseev
a5855c8f0f
Fixed #30996 -- Added AsWKB and AsWKT GIS functions.
2019-11-22 13:40:48 +01:00
Carlton Gibson
ee4a19053a
Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
...
This reverts commit f038214d91
.
The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.
Thanks to Kevin Brown for follow-up report and investigation.
2019-11-21 20:53:31 +01:00
Simon Charette
e9a0e1d4f6
Fixed #30484 -- Added conditional expressions support to CheckConstraint.
2019-11-21 11:56:35 +01:00
Hasan Ramezani
f69b32782e
Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
2019-11-21 10:54:05 +01:00
Sergey Fedoseev
5032556483
Made versionadded/versionchanged annotations without a content end with ".".
...
Regression in d2afa5eb23
.
2019-11-21 09:03:18 +01:00
Jon Dufresne
f5ebdfce5c
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation.
2019-11-20 20:42:38 +01:00
Mariusz Felisiak
3e5b349535
Fixed #31008 -- Fixed typos in docs/topics/logging.txt.
2019-11-20 20:35:36 +01:00
Carlton Gibson
36453526d3
Pinned asgiref version.
2019-11-20 14:57:08 +01:00
Caio Ariede
608e06023e
Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
...
Make sure that AuthRouter includes ContentType in the same database.
2019-11-20 11:43:14 +01:00
Mariusz Felisiak
e9def97d10
Added stub release notes for 2.1.15.
2019-11-19 12:33:39 +01:00
Daniel Izquierdo
89abecc75d
Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones.
2019-11-19 10:55:05 +01:00
Hasan Ramezani
33eecfa740
Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
2019-11-19 10:08:32 +01:00
Caio Ariede
555bebe774
Fixed #30987 -- Added models.PositiveBigIntegerField.
2019-11-19 09:34:11 +01:00
Luke Plant
5cef2cd4a1
Expanded API stability docs to include our policy of continual improvement.
2019-11-18 20:37:46 +01:00
Sergey Fedoseev
f95b59a1b3
Fixed #30994 -- Added Oracle support for AsGeoJSON GIS function.
2019-11-18 15:32:44 +01:00