After several tests, I realized that the map does not render in the version of django 1.11. Already in version 1.10 works perfectly.