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
Mariusz Felisiak
90fa00fc47
[3.1.x] Bumped django_next_version in docs config.
2020-05-12 11:40:57 +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
Jon Dufresne
faa08449dd
Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.
2020-04-23 18:33:32 +02:00
Mads Jensen
060d9d4229
Added link to Mozilla's infosec page on web security.
2020-04-22 16:26:15 +02:00
Jon Dufresne
f48a1990fb
Made compress.py script use the official google-closure-compiler release.
...
The script previously used the PyPI package closure, which is slightly
out of date and not maintained by Google.
The JavaScript contribution docs and the compress.py script now runs the
google-closure-compiler package in the recommended way. Google's
documentation on usage and installation can be found at:
https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage
This also makes the usage simpler as the package now runs through npm's
npx utility, which will automatically install google-closure-compiler to
a per-user cache.
2020-04-22 16:19:27 +02:00
Mariusz Felisiak
fb9b1c245d
Updated admin's XRegExp to 3.2.0.
2020-04-22 08:45:14 +02:00
Jon Dufresne
75866b93cc
Fixed #31479 -- Added support to reset sequences on SQLite.
2020-04-21 10:41:47 +02:00
Jon Dufresne
505fec6bad
Capitalized Unicode in docs, strings, and comments.
2020-04-20 12:10:33 +02:00
Jignesh Kotadiya
7b4bd2a82c
Refs #22463 -- Replaced JSHint with ESLint in contributing docs.
2020-04-20 10:53:00 +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
Jon Dufresne
5673d4b102
Fixed #31477 -- Removed "using" argument from DatabaseOperations.execute_sql_flush().
2020-04-20 07:49:35 +02:00
Jon Dufresne
75410228df
Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on PostgreSQL.
...
The sql_flush() positional argument sequences is replaced by the boolean
keyword-only argument reset_sequences. This ensures that the old
function signature can't be used by mistake when upgrading Django. When
the new argument is True, the sequences of the truncated tables will
reset. Using a single boolean value, rather than a list, allows making a
binary yes/no choice as to whether to reset all sequences rather than a
working on a completely different set.
2020-04-17 11: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
Claude Paroz
71c4fb7beb
Refs #27468 -- Changed default Signer algorithm to SHA-256.
2020-04-15 12:49:14 +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
Adam Johnson
8e8c3f964e
Refs #29501 -- Allowed customizing exit status for management commands.
2020-04-14 13:22:47 +02: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
Tim Graham
ee37d2070a
Sorted imports in docs/_ext/djangodocs.py.
2020-04-14 07:31:36 +02:00
Andrew Godwin
b5ad450fa6
Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
...
It does not support thread_sensitive when used as a decorator, yet.
2020-04-14 07:26:16 +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
a4e4737cf3
Fixed CodeBlock deprecation warning on Sphinx 2.1+.
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
Sergey Fedoseev
026719cf17
Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+.
2020-04-06 11:26:00 +02:00
Simon Charette
98ea4f0f46
Refs #7098 -- Deprecated passing raw column aliases to order_by().
...
Now that order_by() has expression support passing RawSQL() can achieve
the same result.
This was also already supported through QuerySet.extra(order_by) for
years but this API is more or less deprecated at this point.
2020-04-06 10:01:02 +02:00
Hasan Ramezani
4237050684
Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject.
...
Thanks Simon Charette for the solution and analysis.
2020-04-06 07:11:29 +02:00
Simon Charette
fa5e7e46d8
Fixed #31423 -- Clarified nested atomic() example.
2020-04-04 20:39:33 +02:00
c-bata
89032876f4
Fixed #31275 -- Optimized sql_flush() without resetting sequences on MySQL.
...
Co-Authored-By: Simon Charette <charettes@users.noreply.github.com>
2020-04-02 12:57:53 +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
Carlton Gibson
a7e4ff370c
Added stub release notes for 3.0.6.
2020-04-01 10:09:43 +02:00
Carlton Gibson
b56243b77f
Added release dates for 2.1.12 and 3.0.5.
2020-04-01 09:14:56 +02:00
Mariusz Felisiak
3eaf6d67d0
Removed unused link in docs/faq/help.txt.
...
Unused since its introduction in 97cb07c3a1
.
2020-03-31 18:27:44 +02:00
Hasan Ramezani
8aa71f4e87
Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes or strings.
2020-03-31 10:52:56 +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
Adam Johnson
00ff7a44de
Fixed links in Getting Help FAQ.
...
Follow up to 6ef4c8aa9f
,
2020-03-30 07:44:39 +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
Adam Johnson
4216225480
Clarified async documentation.
2020-03-26 16:46:24 +01:00
Adam Johnson
6ef4c8aa9f
Rewrote Get Help FAQ.
2020-03-26 09:44:00 +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