django1/django
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
..
apps Fixed #17379 -- Removed management commands deactivation of the locale. 2018-05-13 10:21:53 +02:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
contrib [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
core [2.1.x] Fixed #29774 -- Fixed django-admin shell hang on startup. 2018-10-19 20:45:55 -04:00
db [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
dispatch [2.1.x] Capitalized "Python" in docs and comments. 2018-10-09 20:50:31 -04:00
forms [2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message. 2018-08-08 06:38:27 -04:00
http [2.1.x] Refs #29784 -- Normalized Python docs links to omit the version. 2018-09-25 10:22:06 +02:00
middleware [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
template [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
templatetags Replaced TOKEN_* constants by TokenType enums. 2018-05-10 17:51:51 +02:00
test [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
urls [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
utils [2.1.x] Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:40:02 -04:00
views [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
__init__.py [2.1.x] Post-release version bump. 2018-10-01 11:40:27 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Added missing word to render_to_response deprecation warning. 2018-05-16 10:06:36 +02:00