Skip to content

Update spatial.rst #1896

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

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Update spatial.rst #1896

merged 1 commit into from
Aug 28, 2023

Conversation

srivardhanrr
Copy link
Contributor

Fixed the import class for D, from django.contrib.gis.geos to django.contrib.gis.measure.

# Previous Code to import "Point" and "D".
from django.contrib.gis.geos import Point, D

# to correct import paths of the packages.
from django.contrib.gis.geos import Point
from django.contrib.gis.measure import D

The correct package to import D is from django.contrib.gis.measure.

Fixed the import class for D, from django.contrib.gis.geos to django.contrib.gis.measure.
Copy link
Contributor

@claudep claudep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@claudep claudep merged commit 1706e82 into django-haystack:master Aug 28, 2023
@srivardhanrr srivardhanrr deleted the patch-1 branch August 31, 2023 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants