Opened 21 months ago
Last modified 21 months ago
#34347 closed Cleanup/optimization
Mypy complaint: module "django.contrib.gis.utils" does not explicitly export attribute "LayerMapping" — at Version 1
Reported by: | Søren Howe Gersager | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 4.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Mypy complains that:
module "django.contrib.gis.utils" does not explicitly export attribute "LayerMapping"
Since the documentation uses that import path, for example: https://docs.djangoproject.com/en/4.1/ref/contrib/gis/layermapping/
I guess django.contrib.gis.utils.__init__ should contain __all__?
Note:
See TracTickets
for help on using tickets.
PR