-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gis warning when I don't want to use gis #189
Comments
+1 |
2 similar comments
+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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: