Commit Graph

11853 Commits

Author SHA1 Message Date
Mariusz Felisiak 78c811334c
Refs #30190 -- Minor edits to JSONL serializer.
Follow up to e29637681b.
2020-06-17 07:59:40 +02:00
Ali Vakilzade e29637681b
Fixed #30190 -- Added JSONL serializer. 2020-06-16 16:51:58 +02:00
Hannes Ljungberg 0d6d4e78b1 Fixed #31709 -- Added support for opclasses in ExclusionConstraint. 2020-06-16 08:16:14 +02:00
Hannes Ljungberg 7edc6e53a7 Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint. 2020-06-16 07:19:00 +02:00
Tobias Krönke 69e0d9c553 Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL. 2020-06-15 12:10:15 +02:00
Hasan Ramezani a16080810b
Fixed #31696 -- Updated OWASP links in docs. 2020-06-15 09:44:08 +02:00
sebashwa 3d664a158d Fixed #31690 -- Added note about fuzzy entries in translation docs. 2020-06-15 07:58:47 +02:00
John Parton a8473b4d34 Fixed #31691 -- Added ordering support to JSONBAgg. 2020-06-13 00:06:29 +02:00
Hannes Ljungberg e0cdd0fcf5 Fixed #31649 -- Added support for covering exclusion constraints on PostgreSQL 12+. 2020-06-12 23:23:21 +02:00
Claude Paroz db8268bce6 Added support for the Tajik language.
Thanks Sirius Sufiew for contributing that support.
2020-06-12 17:47:22 +02:00
Mariusz Felisiak 4339f2aff2
Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
Support for sqlparse < 0.2.2 was broken in
40b0a58f5f because is_whitespace property
was added in sqlparse 0.2.2.
2020-06-10 06:53:32 +02:00
Nicolas Baccelli b38d44229f Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
Regression in 4edad1ddf6.
2020-06-08 08:17:23 +02:00
Mariusz Felisiak 78ad4b4b02
Fixed #31660 -- Fixed queryset crash when grouping by m2o relation.
Regression in 3a941230c8.

Thanks Tomasz Szymański for the report.
2020-06-08 07:21:54 +02:00
David Smith 433dd737f9 Fixed #20347 -- Allowed customizing the maximum number of instantiated forms in formsets.
Co-authored-by: ethurgood <ethurgood@gmail.com>
2020-06-05 12:01:32 +02:00
Mariusz Felisiak 926148ef01
Fixed #31654 -- Fixed cache key validation messages. 2020-06-05 07:21:52 +02:00
Mariusz Felisiak f83b44075d Refs #30913 -- Added system checks for covering indexes and unique constraints support. 2020-06-04 12:26:25 +02:00
Hannes Ljungberg 8c7992f658 Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+. 2020-06-04 12:26:22 +02:00
Claude Paroz 9e57b1efb5 Fixed #30134 -- Ensured unlocalized numbers are string representation in templates. 2020-06-04 10:34:54 +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
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
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
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
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