Fixed djangode for node 10.X.
Merge pull request #1 from Morgul/master

Fixes for Node 10.X