Use logger instead of print.
Remove django auto conf and use it's lib.
Use installed libtool package instead of embed one.