Skip to content
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

Fixed #26785 -- Set BaseSpatialField.empty_strings_allowed to False. #6816

Closed
wants to merge 1 commit into from

Conversation

sir-sigurd
Copy link
Member

@@ -223,12 +223,9 @@ def test_intersection(self):
geom = Point(5, 23, srid=4326)
qs = Country.objects.annotate(inter=functions.Intersection('mpoly', geom))
for c in qs:
if spatialite or mysql:
# When the intersection is empty, Spatialite and MySQL return None
if spatialite or mysql or oracle:
Copy link
Member

Choose a reason for hiding this comment

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

This could be a separate commit or ticket, but could a database feature flag replace the vendor checks?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I thought about this, but I'm planning to do some adjacent changes and I think that it would more clear after that what feature flag we need to add.

@timgraham
Copy link
Member

For the commit message, I usually try to describe the issue that's fixed rather than the implementation.

@timgraham
Copy link
Member

merged in ea46650, thanks!

@timgraham timgraham closed this Jun 21, 2016
@sir-sigurd sir-sigurd deleted the oracle-empty-geom branch August 2, 2016 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants