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
Adam Johnson
f344c75fb0
Added additional note that tests use locmem email backend.
2020-03-25 15:01:39 +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
Adam Johnson
66b06822d0
Improved sessions notes in deployment checklist.
...
- Added note to clear old sessions when using database-backend.
- Made note to consider the cache backend more generic.
2020-03-25 12:04:52 +01:00
Hannes Ljungberg
f3da09df0f
Fixed #31396 -- Added binary XOR operator to F expressions.
2020-03-25 10:16:30 +01:00
Hasan Ramezani
10866a10fe
Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
...
Regression in fb3f034f1c
.
Thanks Holovashchenko Vadym for the report.
2020-03-25 09:13:46 +01:00
David Smith
27746ab28a
Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names.
2020-03-24 20:05:18 +01:00
Adam Johnson
f1db2ca732
Added link to contributing docs in deprecation policy.
2020-03-24 08:50:10 +01:00
Victor Moura
1628b35b58
Fixed #31385 -- Improved wording in tutorial 1.
2020-03-24 06:30:34 +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
Mariusz Felisiak
2117b7c12e
Updated settings example in overriding templates docs.
...
Follow up to ba4389a36b
.
2020-03-21 20:02:57 +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
Andrew Godwin
fc0fa72ff4
Fixed #31224 -- Added support for asynchronous views and middleware.
...
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
2020-03-18 19:59:12 +01:00
Hasan Ramezani
6929f13254
Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
2020-03-18 09:37:05 +01:00
Ryan Petrello
5f8495a40a
Fixed #31371 -- Increased User.first_name max_length to 150 characters.
2020-03-18 08:22:49 +01:00