Nikita Sobolev
682b295c6c
Made small improvement to docs/topics/db/multi-db.txt.
2020-06-01 10:20:00 +02:00
Fabio Sangiovanni
19ceabefd4
Made minor edits to TemplateResponseMixin.get_template_names() docs.
2020-06-01 10:16:45 +02:00
Carlton Gibson
dd1ca50b09
Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations.
...
Regression in e3e48b0012
.
Thanks to Shai Berger for report, reproduce and suggested fix.
2020-06-01 08:38:54 +02:00
Fabio Sangiovanni
df18882473
Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
2020-06-01 07:48:53 +02:00
Claude Paroz
bd4e409695
Made intword/intcomma template filters independent of USE_L10N.
2020-06-01 07:27:08 +02:00
David Smith
7514852767
Removed redundant pyenchant dependency in spelling check docs.
2020-06-01 07:07:56 +02:00
Jon Dufresne
8dabdd2cc5
Corrected FAQ link in docs/faq/help.txt.
...
Without the leading slash, was pointing to Python's FAQ
https://docs.python.org/3/faq/index.html .
2020-05-29 21:23:25 +02:00
Jon Dufresne
494ba27b5f
Changed some doc links to use intersphinx.
2020-05-29 21:09:57 +02:00
David Smith
0382ecfe02
Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores.
2020-05-29 06:47:51 +02:00
Adam Johnson
fa58450a9a
Fixed #31468 -- Allowed specifying migration filename in Operation.
...
This adds also suggested filename for many built-in operations.
2020-05-28 11:42:53 +02:00
Scott Cranfill
62f1655a64
Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields.
...
Co-Authored-By: Andy Chosak <andy@chosak.org>
2020-05-27 12:32:56 +02:00
David Smith
922ff51f5a
Fixed #31628 -- Updated Windows install guide to recommend venv.
2020-05-27 11:18:23 +02:00
Frantisek Holop
d693a086de
Fixed #31615 -- Made migrations skip extension operations if not needed.
...
- Don't try to create an existing extension.
- Don't try to drop a nonexistent extension.
2020-05-27 10:48:44 +02:00
Frantisek Holop
f3ed42c8ad
Refs #31615 -- Improved creating extension docs.
2020-05-27 10:46:22 +02:00
Ahmad A. Hussein
7c947f0f5a
Fixed #31494 -- Preserved query strings when following HTTP 307/308 redirects in test client.
2020-05-27 10:36:52 +02:00
Carlton Gibson
9d55ae00d3
Updated expected release dates for 3.0.7 and 2.2.13.
2020-05-27 10:19:15 +02:00
Mariusz Felisiak
803e70b1ad
Fixed some formatting issues in docs.
2020-05-27 09:07:02 +02:00
Ryan Heard
587b179d41
Fixed #31606 -- Allowed using condition with lookups in When() expression.
2020-05-27 07:32:23 +02:00
René Fleschenberg
f24b59267b
Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
2020-05-25 20:43:31 +02:00
Claude Paroz
cfa0c0e252
Removed instructions for unsupported Apache versions.
2020-05-25 08:56:50 +02:00
Mariusz Felisiak
9624703a06
Doc'd release step for new classifiers on PyPI.
2020-05-21 22:34:21 +02:00
Carlton Gibson
6dcfa70cac
Updated list of third-party DB backends.
...
* Alphabetized third-party DB backend list.
* Added backticks around single-word link texts to ease visual/machine sorting.
* Added CockroachDB to list of third-party DB backends.
* Updated third-party DB backend URLs.
Thanks to Nick Pope and Tim Graham for the review.
2020-05-21 20:54:42 +02:00
Hasan Ramezani
643207efae
Fixed #31608 -- Doc'd that form ISO 8601 datetime parsing always retains tzinfo.
2020-05-21 20:45:39 +02:00
Hasan Ramezani
c60524c658
Fixed #31546 -- Allowed specifying list of tags in Command.requires_system_checks.
2020-05-21 12:34:54 +02:00
Manuel Weitzman
a4e6030904
Fixed #30375 -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update() on PostgreSQL.
2020-05-21 10:51:10 +02:00
Michael Manfre
0e893248b2
Added notes related to security pre-notification list requests.
2020-05-21 10:30:14 +02:00
Claude Paroz
3460ea49e8
Added Kyrgyz language.
...
Thanks Soyuzbek orozbek uulu for contributing that support.
2020-05-20 12:29:59 +02:00
Hasan Ramezani
3c7bf39e23
Fixed #31410 -- Added system checks for invalid model field names in UniqueConstraint.
2020-05-20 10:56:55 +02:00
Mariusz Felisiak
8328811f04
Refs #31607 -- Added release notes for a125da6a7c
.
2020-05-20 09:18:19 +02:00
Carlton Gibson
5af17babb0
Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
2020-05-19 20:27:05 +02:00
Mariusz Felisiak
20a8a443f0
Fixed #31578 -- Dropped support for MySQL 5.6.
2020-05-19 10:56:39 +02:00
wtkm11
9756c33429
Fixed #31504 -- Allowed calling makemigrations without an active database connection.
2020-05-19 10:24:23 +02:00
xncbf
4029bcd6b2
Fixed #31577 -- Clarified docs about bounds of RangeFields.
2020-05-18 12:19:12 +02:00
Simon Charette
3cf80d3fcf
Fixed #31395 -- Made setUpTestData enforce in-memory data isolation.
...
Since it's introduction in Django 1.8 setUpTestData has been suffering
from a documented but confusing caveat due to its sharing of attributes
assigned during its execution with all test instances.
By keeping track of class attributes assigned during the setUpTestData
phase its possible to ensure only deep copies are provided to test
instances on attribute retreival and prevent manual setUp gymnastic to
work around the previous lack of in-memory data isolation.
Thanks Adam Johnson for the extensive review.
2020-05-15 20:22:52 +02:00
Paolo Melchiorre
0e3b0da2e3
Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata.
2020-05-15 11:30:28 +02:00
Mariusz Felisiak
9d211f149a
Refs #31524 -- Moved release notes for 81ffedaacc
to 3.2.
2020-05-14 17:17:46 +02:00
Jon Dufresne
81ffedaacc
Fixed #31524 -- Removed minified static assets from the admin.
2020-05-14 16:07:56 +02:00
Mariusz Felisiak
3a941230c8
Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle.
...
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the GROUP BY clause.
Regression in efa1908f66
.
2020-05-14 15:07:08 +02:00
Jon Dufresne
d522b51c40
Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-14 11:00:51 +02:00
Jon Dufresne
e341bed606
Refs #31034 -- Documented admin requires django.template.context_processors.request.
...
Required since d24ba1be7a
.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-14 11:00:51 +02:00
Simon Charette
adfbf653dc
Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.
...
691def10a0
made all Subquery() instances
equal to each other which broke aggregation subquery pushdown which
relied on object equality to determine which alias it should select.
Subquery.__eq__() will be fixed in an another commit but
Query.rewrite_cols() should haved used object identity from the start.
Refs #30727 , #30188 .
Thanks Makina Corpus for the report.
2020-05-14 09:31:15 +02:00
Simon Charette
42c08ee465
Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.
...
Subquery annotation references must be resolved if they are excluded
from the GROUP BY clause by a following .values() call.
Regression in fb3f034f1c
.
Thanks Makina Corpus for the report.
2020-05-14 08:16:16 +02:00
Mariusz Felisiak
e536fa5ce1
Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.
2020-05-14 06:33:00 +02:00
Mariusz Felisiak
50798d4389
Added stub release notes for 2.2.13.
2020-05-14 06:22:54 +02:00
Claude Paroz
d4c5ef3ebb
Renamed PROJ.4 to PROJ.
2020-05-13 10:30:30 +02:00
Nick Pope
fbdb032de2
Used :envvar: role and .. envvar:: directive in various docs.
2020-05-13 09:14:40 +02:00
Nick Pope
feb91dbda1
Used :mimetype: role in various docs.
2020-05-13 09:14:04 +02:00
Nick Pope
a9337b4add
Used :pep: role in various docs.
2020-05-13 09:14:04 +02:00
Jon Dufresne
05ed7104c0
Fixed numbered list in admin overview docs.
2020-05-13 09:09:07 +02:00
Mariusz Felisiak
f2187a227f
Increased the default PBKDF2 iterations for Django 3.2.
2020-05-13 09:07:51 +02:00
Mariusz Felisiak
d106d07f73
Advanced deprecation warnings for Django 3.2.
2020-05-13 09:07:51 +02:00
Mariusz Felisiak
4c5236ef93
Removed versionadded/changed annotations for 3.0.
2020-05-13 09:07:51 +02:00
Mariusz Felisiak
3b94f12462
Added stub release notes for 3.2.
2020-05-13 09:07:51 +02:00
Mariusz Felisiak
6b9b2af735
Bumped version; master is now 3.2 pre-alpha.
2020-05-13 09:07:51 +02:00
Mariusz Felisiak
d51e090db2
Updated man page for Django 3.1 alpha.
2020-05-12 11:26:37 +02:00
Mariusz Felisiak
0b938cb7d2
Cosmetic edits to docs/releases/3.1.txt.
2020-05-12 11:26:37 +02:00
Mariusz Felisiak
a9e589030a
Removed empty sections from 3.1 release notes.
2020-05-12 11:26:37 +02:00
Sergey Fedoseev
91e287cce0
Refs #30678 -- Added support for GDAL 3.1.
...
OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
2020-05-12 11:25:19 +02:00
Mariusz Felisiak
17ea7cc973
Fixed #31569 -- Confirmed support for GEOS 3.8.
2020-05-12 09:06:06 +02:00
Claude Paroz
58f1b07e49
Fixed #30678 -- Added support for GDAL 3.
2020-05-12 09:06:06 +02:00
Tom Carrick
d24ba1be7a
Fixed #31034 -- Added a navigation sidebar to the admin.
...
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11 18:16:38 +02:00
Jon Dufresne
72a170b4c3
Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.
...
The {% if %} tag provides all features of these tags.
Since Django 1.2 (May 17, 2010), the docs have hinted that
{% ifequal %} and {% ifnotequal %} will be deprecated in a future
Django version. Time to make it official.
2020-05-11 09:07:33 +02:00
sage
6789ded0a6
Fixed #12990 , Refs #27694 -- Added JSONField model field.
...
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-08 07:23:31 +02:00
Mariusz Felisiak
f97f71f592
Refs #12990 -- Bumped mysqlclient requirement to >= 1.4.0.
...
MySQLdb.constants.FIELD_TYPE.JSON was added in mysqlclient 1.4.0rc2.
2020-05-08 06:14:42 +02:00
Omkar Kulkarni
b7f1c0d86d
Fixed #31495 - Corrected note about admin i18n in tutorial.
...
Thanks to Adam Johnson and Claude Paroz for review.
2020-05-06 16:19:04 +02:00
Adam Johnson
83c631ade7
Improved wording in Q() docs.
2020-05-06 06:43:28 +02:00
Adam Johnson
1c2c6f1b51
Fixed a/an typos in "SQL" usage.
2020-05-06 06:35:26 +02:00
Mariusz Felisiak
aff7a58aef
Updated admin's Select2 to 4.0.13.
2020-05-05 11:30:02 +02:00
Mariusz Felisiak
30083e0780
Fixed #31485 -- Updated admin's jQuery to 3.5.1.
2020-05-05 11:00:05 +02:00
Mariusz Felisiak
b73e66e758
Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.
...
Regression in 440505cb2c
.
Thanks Simon Meers for the report.
2020-05-05 09:08:29 +02:00
Chris Burchhardt
d2b9a9fdbb
Refs #28622 -- Corrected PASSWORD_RESET_TIMEOUT/PASSWORD_RESET_TIMEOUT_DAYS docs.
...
Removed outdated note about an extra day in PASSWORD_RESET_TIMEOUT
docs and incorrect "minimum" phrase.
2020-05-05 08:19:25 +02:00
David Smith
2522559d1a
Fixed #31534 -- Deprecated django.conf.urls.url().
2020-05-05 07:34:34 +02:00
QQ喵
0ebabe325d
Doc'd country part of locale name with more than 2 characters.
2020-05-04 20:50:18 +02:00
Adam Johnson
d17b380653
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
2020-05-04 12:10:47 +02:00
Adam Johnson
787981f9d1
Corrected models.FilePathField signature in docs.
2020-05-04 12:10:41 +02:00
Tom Forbes
c00bc27945
Refs #30372 -- Stopped watching built-in Django translation files by auto-reloader.
2020-05-04 09:13:47 +02:00
Nick Pope
8f10ceaa90
Changed `'%s' % value` pattern to `str(value)`.
2020-05-04 08:27:18 +02:00
Mariusz Felisiak
7668f9bce9
Fixed typo in docs/releases/3.0.6.txt.
2020-05-04 07:42:25 +02:00
Mariusz Felisiak
8e8ff38cb8
Added stub release notes for 3.0.7.
2020-05-04 07:38:35 +02:00
Mariusz Felisiak
c5358794e3
Added release date for 3.0.6.
2020-05-04 07:04:23 +02:00
Ian Foote
b4068bc656
Fixed #31455 -- Added support for deferrable exclusion constraints on PostgreSQL.
2020-05-01 09:08:36 +02:00
Greg Kaleka
5d2f5dd4cc
Doc'd Meta inheritance from abstract parents.
2020-05-01 07:48:50 +02:00
David Smith
505b7b6163
Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
2020-05-01 06:11:27 +02:00
Adrian D'Alessandro
235b681351
Doc'd send_email() behavior when from_email is None.
2020-04-30 12:45:43 +02:00
Ian Foote
c226c6cb32
Fixed #20581 -- Added support for deferrable unique constraints.
2020-04-30 10:43:50 +02:00
David Smith
bb13711451
Fixed #25712 -- Reorganized templates docs.
2020-04-30 08:12:09 +02:00
Hasan Ramezani
33f7739108
Fixed #31356 -- Changed IRC links to the Freenode webchat.
2020-04-29 20:08:36 +02:00
Mariusz Felisiak
54646a423b
Refs #27468 -- Made user sessions use SHA-256 algorithm.
2020-04-29 16:45:00 +02:00
Hasan Ramezani
68fc21b378
Fixed #29249 -- Made JSON and YAML serializers use Unicode by default.
2020-04-28 11:11:39 +02:00
François Freitag
9ef4a18dbe
Changed django.forms.ValidationError imports to django.core.exceptions.ValidationError.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-28 10:49:00 +02:00
Mariusz Felisiak
2788de95e3
Updated expected date for 3.0.6 release.
2020-04-28 10:12:33 +02:00
Mariusz Felisiak
b28be08cac
Fixed broken links in docs.
2020-04-28 10:09:45 +02:00
Mariusz Felisiak
dd3dcd2840
Fixed typo in docs/topics/i18n/translation.txt.
...
Thanks durey for the report.
2020-04-28 10:07:34 +02:00
Mariusz Felisiak
ca769c8c13
Fixed #31505 -- Doc'd possible email addresses enumeration in PasswordResetView.
2020-04-27 18:06:11 +02:00
Hasan Ramezani
d6db186427
Fixed #31514 -- Fixed default form widgets in model fields docs.
2020-04-25 21:20:29 +02:00
Tim Schilling
a92cc84b4a
Refs #31369 -- Deprecated models.NullBooleanField in favor of BooleanField(null=True).
2020-04-24 10:10:45 +02:00
Tim Schilling
34a69c2458
Corrected outputting BooleanField as HTML in forms docs.
2020-04-24 09:08:05 +02:00
Tanmay Vijay
e43abbbd70
Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
2020-04-24 08:21:51 +02:00
Andy Chosak
2c4f603461
Fixed typo in docs/intro/contributing.txt.
2020-04-24 08:00:16 +02:00
David Smith
e0757c49ac
Updated template language philosophy in DTL docs.
2020-04-23 20:42:55 +02:00