django1/django
Adam Allred 4e78e389b1 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.
2018-10-19 20:00:12 -04:00
..
apps Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf Fixed #29817 -- Deprecated settings.FILE_CHARSET. 2018-10-15 17:15:41 -04:00
contrib Fixed #29832 -- Updated Roboto font to v2.137. 2018-10-11 23:30:45 -04:00
core Fixed #29774 -- Fixed django-admin shell hang on startup. 2018-10-19 20:00:12 -04:00
db Moved make_hashable() to django.utils and added tests. 2018-10-17 11:17:23 -04:00
dispatch Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
forms Refs #29689 -- Moved FilePathField choices sorting outside the loop. 2018-08-29 06:19:32 -04:00
http Normalized spelling of "lowercase" and "lowercased". 2018-09-25 10:30:18 -04:00
middleware Fixed #29728 -- Prevented session resaving if CSRF cookie is unchanged. 2018-09-08 11:46:13 -04:00
template Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
templatetags Replaced TOKEN_* constants by TokenType enums. 2018-05-10 17:51:51 +02:00
test Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
urls Fixed #29775 -- Fixed URL converters in a nested namespaced path. 2018-10-04 11:42:27 -04:00
utils Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:34:49 -04:00
views Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
__init__.py Bumped version; master is now 2.2 pre-alpha. 2018-05-17 09:37:06 -04: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