When I am checking my modules through mypy it gives me this error:
Module 'django.contrib.gis' has no attribute 'forms'
and I am importing forms like this:
from django.contrib.gis import forms
I know it is correct but mypy shows this error message.
I could import like this:
from django.contrib import gis
and use forms
as gis.forms
but I do not want to.
Can anyone help me to fix this? Thanks.