refactor django_stream code
move more code to stream_django