Open bnisevic opened 7 years ago
+1
+1
+1
You can include the following early on in the execution of your code to suppress the warning yourself:
import warnings
warnings.filterwarnings('ignore', module='floppyforms',
message='Unable to import floppyforms.gis')
Bumping this; it would be nice to use a settings flag instead of suppressing the warning.
In the v1.7.0 floppyforms are requiring GDAL even if I don't want to use GeoDjango widgets. https://github.com/gregmuellegger/django-floppyforms/blob/master/floppyforms/__init__.py#L21
This should be optional. I shouldn't see warning that floppyforms.gis can not be imported when GDAL is missing if I don't want to use GeoDjango widgets.