Gagaro
Gagaro
I am still not sure how it impacted me, but I had an encoding issue when upgrading requests to 2.26 with my pdf generation. As far as I can tell,...
Thanks, it works with `[use_chardet_on_py3]`. I still don't see how this sub-dependency can have this impact.
Yes I understand all that, what I don't is why does it impact `xhtml2pdf` which does not depend on `requests` / `chardet` / `charset-normalizer` : ``` xhtml2pdf==0.2.4 - html5lib [required:...
Indeed, nice catch! So we actually depend on `chardet` without even knowing it :sweat_smile: .
You need to set `include_media` to `True` on your widget. You can do that by creating your own widget: ```python class LeafletWidgetWithMedia(LeafletWidget): include_media = True ``` This should do the...
Sure, go ahead, I'll gladly review it :+1: .
django-leaflet does not have migrations nor model fields. In which migration do you have an issue and what is the traceback ?
gdal is a requirements for GeoDjango since the 1.11 https://docs.djangoproject.com/en/1.11/releases/1.11/#id1 Are you using Django 1.11 and part of GeoDjango?
I guess that it is because django-leaflet use some part of geodjango for its form fields: https://github.com/makinacorpus/django-leaflet/blob/master/leaflet/forms/fields.py#L8
The map is probably not initialized yet. Try overwriting the `callback` block in `leafet/admin/widget.html`, you should have the `map` variable there.