Commit Graph

14 Commits

Author SHA1 Message Date
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 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
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
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
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 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
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
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
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
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