surpress the gis warnings from floppyforms
This commit is contained in:
parent
6395f33158
commit
89d75cbe60
|
@ -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__)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue