Commit Graph

25976 Commits

Author SHA1 Message Date
Carlton Gibson 24a0d1b8a3 [2.1.x] Post-release version bump. 2018-08-31 10:57:02 +02:00
Carlton Gibson 497e3942b5 [2.1.x] Bumped version for 2.1.1 release. 2018-08-31 10:17:29 +02:00
Carlton Gibson 3adf649d74 [2.1.x] Added release date for 2.1.1.
Backport of fff25d6d0c from master
2018-08-31 10:13:46 +02:00
Tim Graham 152b1d783b [2.1.x] Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.

* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.

Backport of fd8a7a5313 from master
2018-08-30 11:36:04 +02:00
Mariusz Felisiak e7acd99113 [2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().
Regression in 0b66c3b442.
Backport of 39461a83c3 from master
2018-08-29 10:03:36 +02:00
Tim Graham c4559d0b39 [2.1.x] Fixed #29718 -- Doc'd admin template collision backwards incompatibility in Django 2.1.
Backport of 166dec8406 from master
2018-08-28 14:40:39 -04:00
Claude Paroz a24fc07bbc [2.1.x] Fixed LayerMapping encoding in geodjango tutorial.
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
Backport of 388165ade4 from master.
2018-08-28 19:01:18 +02:00
Matt Wiens 6cd16037d8 [2.1.x] Fixed typo in docs/ref/models/fields.txt.
Backport of c122a7c53c from master
2018-08-28 07:53:19 -04:00
Jon Dufresne a7e89a5ba7 [2.1.x] Corrected ModelFormMixin.form_invalid() signature in docs.
Backport of 76df4f35c2 from master
2018-08-27 20:52:43 -04:00
Tim Graham aa527e074f [2.1.x] Fixed #29709 -- Updated recommended SQL Server backend to django-pyodbc-azure.
Backport of 7b7fb2eca5 from master
2018-08-25 18:37:21 -04:00
Benjamin Bach fb9c1f4b46 [2.1.x] Fixed #29226 -- Doc'd modify_settings() ordering considerations for Python < 3.6.
Backport of 08f788b169 from master
2018-08-25 10:25:47 -04:00
Rodrigo 22fa9265c1 [2.1.x] Polished the admin overview docs.
Backport of 939dcff24f from master
2018-08-21 11:39:31 -04:00
Tim Graham b7ac1b316b [2.1.x] Fixed typo in docs/releases/2.0.5.txt.
Backport of cdc6da395a from master
2018-08-21 09:48:39 -04:00
Tim Graham 53b9a6654b [2.1.x] Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
Backport of d311124be5 from master
2018-08-20 11:15:16 -04:00
Tom Forbes 77498db196 [2.1.x] Fixed #29685 -- Added QuerySet.explain() to the database optimization docs.
Backport of b042ab8976 from master
2018-08-18 09:23:03 -04:00
Jon Dufresne cae84904c6 [2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too long exception.
Backport of bf17f5e884 from master
2018-08-17 12:44:17 -04:00
Jon Dufresne 9c93bf0903 [2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with view permission.
Backport of 09ee3b6fe3 from master
2018-08-17 11:21:17 -04:00
Jon Dufresne 91d281c021 [2.1.x] Added ModelAdmin._response_post_save() to avoid code duplication.
Backport of 57f16655cd from master
2018-08-17 11:04:33 -04:00
Jon Dufresne f5fbff0b4e [2.1.x] Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
Backport of cd790ed1a6 from master
2018-08-17 11:04:20 -04:00
Jeff 91af869d70 [2.1.x] Fixed #29646 -- Doc'd the validators that each model and form field uses.
Backport of 3fa3de5415 from master
2018-08-16 17:05:10 -04:00
Tim Graham 5628a8a23f [2.1.x] Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process().
Backport of 7f6b013bf6 from master
2018-08-16 10:39:53 +02:00
Marnanel Thurman ef306338eb [2.1.x] Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
Backport of 7cc52250f0 from master
2018-08-15 10:28:08 -04:00
Dragoon Aethis c903e905b3 [2.1.x] Refs #29449 -- Removed release note for "Allowed using contrib.auth forms without installing contrib.auth."
The code was reverted in f3fa86a89b.
Backport of d3449faaa9 from master
2018-08-11 22:32:51 -04:00
Ramiro Morales f72a7d8f44 [2.1.x] Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericRelation is declared on an abstract base model.
Regression in 4ab027b944.

Thanks Lauri Kainulainen for the report.

Backport of b5c7cb4d33 from master
2018-08-10 12:43:27 -04:00
Clément Mangin d7615674d9 [2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8.

Backport of 64e1a271f5 from master
2018-08-10 11:32:52 -04:00
Tim Graham 42f194b858 [2.1.x] Refs #29652 -- Fixed typo in docs/releases/2.1.txt.
Backport of d0928d6454 from master
2018-08-08 18:07:40 -04:00
Tim Graham 548a2d3c1f [2.1.x] Fixed #29652 -- Doc'd removal of py-bcrypt compatibility.
Backport of 2fa36719a8 from master
2018-08-08 18:02:02 -04:00
Tim Graham e3be4e94d1 [2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
Backport of 730173d1c5 from master
2018-08-08 06:38:27 -04:00
Mariusz Felisiak 2bf766cedc
[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25a.
Backport of 9fee229874 from master
2018-08-08 08:52:55 +02:00
Claude Paroz d46bf11979 [2.1.x] Refs #29374 -- Moved misplaced line in date format docs table
Backport of 93bd860710 from master.
2018-08-06 20:19:47 +02:00
Tim Graham c2b28dfeec [2.1.x] Consolidated docs about handling a ForeignKey in custom user model manager.
Backport of e9ea49d274 from master
2018-08-06 12:42:19 -04:00
Tim Graham 37c0a33655 [2.1.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
Behavior changed in f734e2d4b2
(refs #27334).

Backport of 89d4d41240 from master
2018-08-04 11:06:11 -04:00
Carlton Gibson 1e8c68ff47 [2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.
Backport of ef70af77ec from master
2018-08-04 11:06:04 -04:00
Adam Johnson 4261ba6770 [2.1.x] Clarified the values accepted by ModelAdmin.fields.
Backport of 45086c294d from master
2018-08-03 16:50:01 -04:00
Tim Graham 1593a8386a [2.1.x] Refs #28584 -- Documented removal of support for SQLite < 3.7.15.
Backport of 1160a97596 from master
2018-08-03 14:58:38 -04:00
Danilo Bargen 4f9641c9af [2.1.x] Fixed #29633 -- Doc'd the geometry type for each model field.
Backport of 2e06ff8e14 from master
2018-08-03 10:39:25 -04:00
Mariusz Felisiak c706091225
[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the user can't create databases.
Regression in e776dd2db6.

Thanks Tim Graham for the review.
Backport of 1a9cbf41a1 from master
2018-08-03 10:33:52 +02:00
Carlton Gibson a004350193 [2.1.x] Refs #29593, #26891 -- Doc'd RegisterLookupMixin.get_lookups().
Backport of a67ebcb1cb from master
2018-08-03 07:28:21 +02:00
Tim Graham 0cfca0f2cc [2.1.x] Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
Regression in 7d96f0c49a.
Backport of d8e2be459f from master
2018-08-02 21:56:43 -04:00
Carlton Gibson 66c0c58cf2 [2.1.x] Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
Removed in 244cc40155.

Backport of 5180015051 from master
2018-08-02 21:07:44 -04:00
Adam Johnson 2b19d198b1 [2.1.x] Removed out of place sentence in QuerySet.count() docs.
Backport of 2e3ba9f592 from master
2018-08-02 17:36:26 -04:00
Michael Sanders 221ef69a9b [2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.

Backport of 271542dad1 from master
2018-08-02 17:17:12 -04:00
luz.paz adfd261404 [2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f from master
2018-08-01 16:13:18 -04:00
Tim Graham 7da1e45dc5 [2.1.x] Added stub release notes for 2.1.1.
Backport of 25dd595742 from master
2018-08-01 11:14:25 -04:00
Tim Graham 3dc02de761 [2.1.x] Added CVE-2018-14574 to the security release archive.
Backport of 0006538e53 from master
2018-08-01 11:07:18 -04:00
Tim Graham 3f429e1955 [2.1.x] Post-release version bump. 2018-08-01 11:06:27 -04:00
Tim Graham e7ad40fcf4 [2.1.x] Bumped version for 2.1 release. 2018-08-01 09:56:13 -04:00
Andreas Hug c4e5ff7fdb [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
Tim Graham b323425661 [2.1.x] Added stub release notes for security releases. 2018-08-01 09:35:09 -04:00
Claude Paroz cbf7e7dc52 [2.1.x] Updated contrib translations from Transifex 2018-08-01 08:41:58 -04:00