Skip to content
Browse files

Fixed #5319 -- Changed terminal colors in…

…rs not to be used under Jython. Thanks, Marty Alchin

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5ad0858 commit 8ae1a78e47cfab6d9b4b9d64541517927cfcb7ed @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/
2 django/core/management/
@@ -7,7 +7,7 @@
def color_style():
"Returns a Style object with the Django color scheme."
- if sys.platform == 'win32' or sys.platform == 'Pocket PC' or not sys.stdout.isatty():
+ if sys.platform == 'win32' or sys.platform == 'Pocket PC' or sys.platform.startswith('java') or not sys.stdout.isatty():
return no_style()
class dummy: pass
style = dummy()

0 comments on commit 8ae1a78

Please sign in to comment.
Something went wrong with that request. Please try again.