django-extensions/django-extensions — pull request #581 by bartekwojcicki (2014-11-30 16:44:17+00:00)
Title: fix for issue #561 removing empty lines (python 3)

Extra lines are added because in python 3 StreamHandler() first writes message to stream and then writes delimiter ('\n'). Stream is wrapped with django's OutputWrapper(), which checks if message ends with ending ('\n' again) and if not appends it to message.
Not using default ending='\n' in django's OutputWrapper() should fix the issue.