django-leaflet
django-leaflet copied to clipboard
Is it supported for Django 2.0 .?
While trying to register my model in admin which is for a multipolygon field in a Django 2.0 project but the after adding LeafletGeoadmin the leaflet admin map appears blank not sure what is the problem but it used to work on Django 11.7.2
We have a Django 2 working fine with django leaflet. Do you have any error in the javascript console ?
Not sure if there is an error in javascript console. But I am bit new to django, Could you suggest how can I check that ?. Btw the model works fine if I use OSMGeoAdmin. The result as below
I did cross check again to make sure if it is properly installed and if I have added the import in admin page. But still it appears blank
I checked Travis and didn't find that there are builds\test with Django2.0 but I do see builds for Dev, so I guess they're running on the latest 2.0 code and not the 2.0 or 2.0.1 release. Can you confirm that for me I'm not that familiar with Travis. ty!
The dev tag is used to build on master (so 2.1 right now):
https://github.com/makinacorpus/django-leaflet/blob/master/.travis.yml#L103-L104
However, it is the master of the moment the travis build was made, and it is an allowed failure (https://github.com/makinacorpus/django-leaflet/blob/master/.travis.yml#L79-L87), which means it wouldn't break the tests event if it failed.
But it looks like it was on an early version of 2.1 at the time (https://travis-ci.org/makinacorpus/django-leaflet/jobs/308429673#L704).