Adam Johnson
fcdac3787d
Removed unused HTML class flex from admin changelist.
...
Unused since 233708fb68
.
2020-06-04 11:25:19 +02:00
Jon Dufresne
f47d5aac62
Refs #27804 -- Used subTest() in tests.utils_tests.test_text.
2020-06-04 11:16:21 +02:00
Claude Paroz
9e57b1efb5
Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
2020-06-04 10:34:54 +02:00
Claude Paroz
51250d2f12
Refs #30134 -- Added test for {% localize off %} tag with format settings.
2020-06-04 10:34:54 +02:00
Tim Graham
a7b4a04d6c
Refs #31630 -- Added CharField and IntegerField to DatabaseFeatures.introspected_field_types.
...
CockroachDB introspects CharField as TextField and IntegerField as
BigIntegerField.
2020-06-04 08:46:06 +02:00
Tim Graham
e24b63fe85
Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield.
2020-06-04 08:27:46 +02:00
Hasan Ramezani
e198beadad
Fixed #31630 -- Replaced introspection features with DatabaseFeatures.introspected_field_types.
2020-06-04 08:27:42 +02:00
Hasan Ramezani
55556e51fb
Fixed #31650 -- Added note uniqueness of constraints names in docs.
2020-06-04 07:36:12 +02:00
David Smith
b8b129e58c
Removed reference to unsupported versions of Django and Python.
2020-06-03 21:28:14 +02:00
David Smith
dbdc192ca3
Preferred usage of among/while to amongst/whilst.
2020-06-03 21:02:48 +02:00
David Smith
25352dc019
Updated How to install Django on Windows guide.
2020-06-03 16:28:10 +02:00
Collin Anderson
4ae9a2b18e
Fixed #31641 -- Improved loading of navigation sidebar in admin.
2020-06-03 13:04:54 +02:00
Mariusz Felisiak
229c9c6653
Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is defined.
...
Follow up to 2c82414914
.
2020-06-03 13:00:37 +02:00
Carlton Gibson
54975780ee
Added CVE-2020-13254 and CVE-2020-13596 to security archive.
2020-06-03 12:03:37 +02:00
Mariusz Felisiak
36a2e9607e
Made default_role_error use logger.
...
This prevents raising errors for translated docs, see
https://github.com/django/djangoproject.com/issues/997
Follow up to 1cdfe8d912
.
2020-06-03 11:42:42 +02:00
Carlton Gibson
7ec2658e1e
Added stub release notes for 3.0.8.
2020-06-03 10:54:29 +02:00
Dan Palmer
2c82414914
Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends.
2020-06-03 09:24:26 +02:00
Jon Dufresne
2dd4d110c1
Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget.
2020-06-03 09:23:00 +02:00
Carlton Gibson
81dc710571
Added release date for 2.2.13 and 3.0.7.
2020-06-03 09:13:16 +02:00
Mariusz Felisiak
7fc317ae73
Refs #30997 -- Improved HttpRequest.is_ajax() warning message with stacklevel=2.
2020-06-03 08:47:19 +02:00
Thodoris Sotiropoulos
df32fd42b8
Fixed #31651 -- Made ExpressionWrapper use grouping columns from wrapped expression.
2020-06-03 07:29:41 +02:00
Adam Johnson
22a59c01c0
Refs #31615 -- Added EXISTS clauses to extension operations.
2020-06-03 07:02:48 +02:00
David Smith
06c8565a46
Updated link to Celery.
2020-06-02 14:37:16 +02:00
Carlton Gibson
0daddf093f
Refs #31485 -- Added release notes for backport of jQuery upgrade to 3.5.1.
2020-06-02 14:32:43 +02:00
Carlton Gibson
8c49c3f725
Adjusted URL example in tutorial.
...
No need for the example to be ASP specific.
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2020-06-02 12:26:30 +02:00
Jon Dufresne
8ce570f2f2
Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
2020-06-02 11:45:44 +02:00
Chris May
ecaac9e42f
Fixed typo in docs/ref/templates/language.txt.
2020-06-01 20:51:54 +02:00
Carles Pina
e46c2326c8
Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ClearableFileInput.
2020-06-01 12:25:25 +02:00
René Fleschenberg
578b3046e3
Reverted "Refs #23919 -- Removed obsolete __init__.py files in management command directories."
...
This reverts commit ccc25bfe4f
.
https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion
2020-06-01 10:55:41 +02:00
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
Simon Charette
f8ef5f2c86
Refs #21171 -- Made Collector.delete() rollback in the correct database.
...
Regression in c7dd8490b882b2cefdc7faf431dc64c532b79c9.
2020-05-29 10:24:37 +02:00
David Smith
0382ecfe02
Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores.
2020-05-29 06:47:51 +02:00
David Smith
3111b434e7
Corrected slugify()'s docstring.
2020-05-29 06:42:03 +02:00
David Smith
dde05e192c
Added more tests for slugify().
2020-05-29 06:28:57 +02:00
Jon Dufresne
3bc4240d97
Removed unused admin:jsi18n <script> element from change_password.html.
...
The view does not contain any other JavaScript and therefore does not
have any user facing JavaScript strings to translate. Avoid the HTTP
request.
2020-05-28 15:21:47 +02:00
Mariusz Felisiak
d94a9aa055
Refs #31040 , Refs #31224 -- Prevented cycles in exceptions chain.
...
Async exception handling was raising an exception that was creating a
cycle in the exception chain (by re-raising an exception in
sync_to_async that was already being handled).
Thanks Chris Jerdonek for detailed analysis.
2020-05-28 13:05:15 +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
Adam Johnson
5bd585a82d
Refs #31468 -- Added tests for MigrationAutodetector.suggest_name().
2020-05-28 11:24:58 +02:00
Tom Carrick
780473d756
Refs #31034 -- Improved accessibility of admin navigation sidebar.
2020-05-28 10:16:20 +02:00
Mariusz Felisiak
42de52affe
Fixed isolation of test_migrate_fake_initial.
2020-05-28 09:32:43 +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