Commit Graph

5 Commits

Author SHA1 Message Date
Tim Graham 0f02d71995 [2.1.x] Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field.
Regression in ee49306176.
Backport of f77fc56c96 from master.
2018-10-28 22:54:19 -04:00
Sergey Fedoseev 69603b3e71 [2.1.x] Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.
Regression in e1253bc26f.
Backport of 9a88c6dd6a from master.
2018-10-25 19:38:00 -04:00
Adam Allred 0d5d8ed322 [2.1.x] Fixed #29774 -- Fixed django-admin shell hang on startup.
sys.stdin.read() blocks waiting for EOF in shell.py which will
likely never come if the user provides input on stdin via the
keyboard before the shell starts. Added check for a tty to
skip reading stdin if it's not present.

This still allows piping of code into the shell (which should
have no TTY and should have an EOF) but also doesn't cause it
to hang if multi-line input is provided.

Backport of 4e78e389b1 from master.
2018-10-19 20:45:55 -04:00
aspalding 0df7ea1b87 [2.1.x] Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25a.

Backport of 834c4ec8e4,
217f82d713, and
dc5e75d419 from master.
2018-10-17 11:40:02 -04:00
Carlton Gibson d53e91d43d [2.1.x] Added stub release notes for 2.1.3 release.
Backport of dc28c0faf3 from master
2018-10-01 12:01:12 +02:00