Fix Python 3 support in Leaflet widget for Django >= 1.4.2 and < 1.6