Fix debug-to-null logger for django.db

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge branch 'fix_todos'