surpress the gis warnings from floppyforms

This commit is contained in:
Andreas Zweili 2020-02-29 20:59:12 +01:00
parent 6395f33158
commit 89d75cbe60
1 changed files with 4 additions and 0 deletions

View File

@ -11,7 +11,11 @@ https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import os
import warnings
warnings.filterwarnings('ignore',
module='floppyforms',
message='Unable to import floppyforms.gis')
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))