Ramiro Morales
26113b9de1
[3.1.x] Fixed typo in docs/ref/models/querysets.txt.
...
Backport of 51e536178c
from master
2020-07-22 23:37:14 +02:00
Buk Bukowski
2521664041
[3.1.x] Fixed #31814 -- Fixed typo in docs/ref/settings.txt.
...
Backport of f65454801b
from master
2020-07-22 22:39:27 +02:00
Adam Johnson
2b3ca7a5f1
[3.1.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation related with models exceptions.
...
Backport of bc4fea92b2
from master
2020-07-22 20:21:06 +02:00
Adam Johnson
77abe98816
[3.1.x] Refs #24763 -- Moved DoesNotExist to Model class docs.
...
Backport of b5f0efa19c
from master
2020-07-22 20:20:57 +02:00
David Chorpash
5360f002f8
[3.1.x] Refs #31720 -- Added examples to BoolAnd() and BoolOr() documentation.
...
Backport of a2e621b14e
from master
2020-07-21 07:02:18 +02:00
Adam Johnson
f91ba43ebf
[3.1.x] Improved description of USE_THOUSAND_SEPARATOR setting.
...
Backport of 80f92177eb
from master
2020-07-20 12:55:44 +02:00
Adam Johnson
32e22f0531
[3.1.x] Improved ManyToManyField.through docs.
...
Backport of e7fa8aff43
from master
2020-07-17 10:48:13 +02:00
Adam Johnson
e63644d37b
[3.1.x] Refs #31502 -- Made minor edits to Model._state docs.
...
Backport of 5ef6f62634
from master
2020-07-16 21:12:13 +02:00
Mariusz Felisiak
3ca8cc0df1
[3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpResponse.delete_cookie().
...
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
Backport of 240cbb63bf
from master
2020-07-16 08:17:45 +02:00
Eric Theise
ac699ba647
[3.1.x] FIxed typo in docs/ref/contrib/postgres/forms.txt.
...
Backport of d08e6f55e3
from master
2020-07-15 09:04:11 +02:00
Caio Ariede
7fe7d83295
[3.1.x] Fixed #21528 -- Added note about filtering form field's queryset based on instance to admin docs.
...
Backport of d38c34119e
from master
2020-07-13 23:02:05 +02:00
Carlton Gibson
b19372952c
[3.1.x] Removed unsupported third-party database backends from docs.
...
Backport of 1d8256719e
from master
2020-07-08 22:30:23 +02:00
Tim Park
3756a0509a
[3.1.x] Fixed #31739 -- Documented dependency between HttpRequest stream IO methods and body.
...
Backport of 060576b0ab
from master
2020-07-08 10:41:28 +02:00
Tim Park
dad6973629
[3.1.x] Fixed #31502 -- Documented Model._state.db and Model._state.adding
...
Backport of 697e59d5cf
from master
2020-07-08 10:06:45 +02:00
Carlton Gibson
268ba2db8e
[3.1.x] Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.
...
Backport of b142bd4a1b
from master
2020-07-02 21:10:34 +02:00
Adam Johnson
5460041475
[3.1.x] Improved RegexValidator docs.
...
Backport of 8cf08a01b5
from master
2020-06-30 12:55:52 +02:00
Steven Pousty
1a3029b6b4
[3.1.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
...
Backport of d2c135da4c
from master
2020-06-26 09:58:55 +02:00
Adam Johnson
6ed4a9bdb3
[3.1.x] Refs #31493 -- Replaced var with const/let in documentation JS.
...
Backport of 2afa61e7d9
from master
2020-06-24 12:22:54 +02:00
Yash Saini
648f6ffcd7
[3.1.x] Refs #31541 -- Added example of creating Redirect objects to redirects app docs.
...
Backport of a8c0246ece
from master
2020-06-23 20:21:43 +02:00
Adam Johnson
59dcbdaed4
[3.1.x] Made small improvements to PostgreSQL operations docs.
...
Backport of 0ff3228844
from master.
2020-06-23 11:32:50 +02:00
David Smith
928f6a90e4
[3.1.x] Fixed #30933 -- Updated instructions for installing GeoDjango on Windows.
...
Backport of 7f4db2d82b
from master
2020-06-17 20:14:31 +02:00
David Smith
58f7d7c9fd
[3.1.x] Adjusted model definition in GeoDjango tutorial.
...
The example uses the world border data set, where
one of the entries has a null field value.
Backport of 6bc9283751
from master
2020-06-17 20:11:20 +02:00
Tobias Krönke
5ba2dfb9d0
[3.1.x] Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL.
...
Backport of 69e0d9c553
from master
2020-06-15 12:52:45 +02:00
Hasan Ramezani
ecd794bc68
[3.1.x] Fixed #31696 -- Updated OWASP links in docs.
...
Backport of a16080810b
from master
2020-06-15 09:44:37 +02:00
sebashwa
2d3b6bce28
[3.1.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
...
Backport of 3d664a158d
from master
2020-06-15 09:05:09 +02:00
Hasan Ramezani
43254876c2
[3.1.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
...
Backport of 55556e51fb
from master
2020-06-04 07:38:35 +02:00
Chris May
fe07357ef9
[3.1.x] Fixed typo in docs/ref/templates/language.txt.
...
Backport of ecaac9e42f
from master
2020-06-01 20:52:25 +02:00
Fabio Sangiovanni
c3bd48c4cb
[3.1.x] Made minor edits to TemplateResponseMixin.get_template_names() docs.
...
Backport of 19ceabefd4
from master
2020-06-01 10:17:08 +02:00
Fabio Sangiovanni
9ce281d21f
[3.1.x] Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
...
Backport of df18882473
from master
2020-06-01 07:49:26 +02:00
Frantisek Holop
a79d0c8c81
[3.1.x] Refs #31615 -- Improved creating extension docs.
...
Backport of f3ed42c8ad
from master
2020-05-27 11:14:31 +02:00
Mariusz Felisiak
ebf553397a
[3.1.x] Fixed some formatting issues in docs.
...
Backport of 803e70b1ad
from master
2020-05-27 09:07:33 +02:00
René Fleschenberg
ccf3cecbaf
[3.1.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
...
Backport of f24b59267b
from master
2020-05-25 21:04:28 +02:00
Carlton Gibson
b205c0b0cc
[3.1.x] 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.
Backport of 6dcfa70cac
from master
2020-05-21 20:55:25 +02:00
Hasan Ramezani
a6c773aa86
[3.1.x] Fixed #31608 -- Doc'd that form ISO 8601 datetime parsing always retains tzinfo.
...
Backport of 643207efae
from master
2020-05-21 20:49:30 +02:00
xncbf
03bfcbad88
[3.1.x] Fixed #31577 -- Clarified docs about bounds of RangeFields.
...
Backport of 4029bcd6b2
from master
2020-05-18 20:42:33 +02:00
Jon Dufresne
1c2d0fdf3e
[3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of d522b51c40
from master
2020-05-14 11:01:22 +02:00
Jon Dufresne
c9a9d042e5
[3.1.x] Refs #31034 -- Documented admin requires django.template.context_processors.request.
...
Required since d24ba1be7a
.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of e341bed606
from master
2020-05-14 11:01:17 +02:00
Nick Pope
4eb5e4ee4f
[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
...
Backport of fbdb032de2
from master
2020-05-13 09:38:59 +02:00
Nick Pope
345fa40cb5
[3.1.x] Used :mimetype: role in various docs.
...
Backport of feb91dbda1
from master
2020-05-13 09:38:49 +02:00
Nick Pope
15d76dc2ab
[3.1.x] Used :pep: role in various docs.
...
Backport of a9337b4add
from master
2020-05-13 09:38:40 +02:00
Jon Dufresne
d6e6695d93
[3.1.x] Fixed numbered list in admin overview docs.
...
Backport of 05ed7104c0
from master
2020-05-13 09:09:39 +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
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
30083e0780
Fixed #31485 -- Updated admin's jQuery to 3.5.1.
2020-05-05 11:00:05 +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
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
Ian Foote
b4068bc656
Fixed #31455 -- Added support for deferrable exclusion constraints on PostgreSQL.
2020-05-01 09:08:36 +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
Ian Foote
c226c6cb32
Fixed #20581 -- Added support for deferrable unique constraints.
2020-04-30 10:43:50 +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
b28be08cac
Fixed broken links in docs.
2020-04-28 10:09:45 +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
David Smith
e0757c49ac
Updated template language philosophy in DTL docs.
2020-04-23 20:42:55 +02:00
Jon Dufresne
faa08449dd
Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.
2020-04-23 18:33:32 +02:00
Jon Dufresne
505fec6bad
Capitalized Unicode in docs, strings, and comments.
2020-04-20 12:10:33 +02:00
David Smith
2014319159
Updated iTunes podcast format link in syndication docs.
2020-04-20 08:10:13 +02:00
Jon Dufresne
fb21625270
Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.
...
The u-prefixed variants were removed from the documentation in
6eb4996672
.
2020-04-20 07:57:24 +02:00
Nick Pope
058b38b43e
Improved message example in admin actions documentation.
...
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
2020-04-16 11:26:33 +02:00
Mariusz Felisiak
f1a808a502
Used :rfc: role in various docs.
2020-04-15 18:31:30 +02:00
Mariusz Felisiak
fc0b48d2e7
Fixed typo in docs/ref/templates/builtins.txt.
2020-04-15 10:41:19 +02:00
Adam Johnson
5b884d45ac
Fixed #29501 -- Allowed dbshell to pass options to underlying tool.
2020-04-14 14:02:51 +01:00
Sergey Fedoseev
b9e2355eb0
Fixed #31196 -- Added support for PostGIS 3.
2020-04-14 13:19:59 +02:00
Claude Paroz
a6b4c07b6e
Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.
2020-04-14 09:34:01 +02:00
Mariusz Felisiak
cc70a0343e
Fixed term warning on Sphinx 3.0.1+.
...
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-14 09:32:09 +02:00
Ichlasul Affan
53d229ff63
Fixed #31351 -- Added system checks for partial indexes and unique constraints support.
2020-04-10 12:00:27 +02:00
David Smith
734fde7714
Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
2020-04-10 07:37:54 +02:00
David Smith
a350bfa6f4
Fixed #13009 -- Added BoundField.widget_type property.
2020-04-10 07:11:14 +02:00
Shrikrishna Singh
ab903fe304
Mentioned non_field_errors in form validation docs.
2020-04-09 12:37:36 +02:00
miigotu
210657b791
Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.
2020-04-08 11:26:17 +02:00
Mariusz Felisiak
678f958ef9
Fixed highlightlang deprecation warning on Sphinx 1.8+.
2020-04-07 09:48:52 +02:00
Mariusz Felisiak
69e2cd6fed
Fixed Sphinx warnings on duplicate object descriptions.
2020-04-07 09:48:52 +02:00
Carlton Gibson
b1f88476db
Corrected docs spelling of PgBouncer.
2020-04-01 14:55:11 +02:00
Adam Johnson
1cdfe8d912
Prevented (and corrected) single backtick usage in docs.
2020-04-01 14:55:11 +02:00
hashlash
4a6f2b63d7
Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE environment variable.
2020-04-01 12:51:11 +02:00
Adam Johnson
e9b014fbc5
Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL.
2020-04-01 10:58:41 +02:00
Deep Sukhwani
4b146e0c83
Fixed #30864 -- Doc'd classproperty decorator.
2020-03-31 10:46:48 +02:00
Adam Johnson
93ed71e058
Fixed #31403 -- Added support for returning fields from INSERT statements on MariaDB 10.5+.
2020-03-31 07:25:50 +02:00
Hasan Ramezani
bec4dea844
Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
2020-03-27 06:32:42 +01:00
Gordon Pendleton
d0da2820ca
Fixed #31402 -- Added migrate --check option.
...
Command exits with non-zero status if unapplied migrations exist.
2020-03-26 20:12:39 +01:00
Carlton Gibson
8f2a6c76d1
Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
...
Use re_path() pattern with the regex used before original regression in
df41b5a05d
.
Regression in a0916d7212
.
2020-03-26 08:57:02 +01:00
Adam Johnson
b15b3706fe
Improved docs on migration reversibility. ( #12619 )
...
- Clarify reversibility for RunSQL and RunPython operations.
- Add example for migrate with irreversible migration.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-03-25 14:37:54 +01:00
David Smith
27746ab28a
Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names.
2020-03-24 20:05:18 +01:00
Tim Graham
291539a85c
Removed obsolete references to South database migrations.
2020-03-23 11:55:58 +01:00
Hannes Ljungberg
0b51a4f894
Fixed #28194 -- Added support for normalization and cover density to SearchRank.
2020-03-23 11:00:55 +01:00
Adam Johnson
4ed534758c
Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.
2020-03-23 08:11:14 +01:00
Hasan Ramezani
53b6a466d8
Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().
...
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-20 12:55:33 +01:00
Rohit
2695ac8e04
Fixed #31144 -- Relaxed system check for max_length of CharFields on MySQL/MariaDB by turning into a warning.
2020-03-20 12:28:10 +01:00
gowthamk63
142ab6846a
Fixed #31123 -- Added --include-stale-apps option to the remove_stale_contenttypes management command.
...
Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
2020-03-19 11:48:10 +01:00
Mariusz Felisiak
6e026aec5f
Refs #29548 -- Mentioned MariaDB in database system checks.
2020-03-19 09:42:04 +01:00