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

Bump django-geostore from 0.8.0 to 1.0.0 #522

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/geosource/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class Status(models.IntegerChoices):

id_field = models.CharField(max_length=255, default="id")
geom_type = models.IntegerField(
choices=GeometryTypes.choices(), null=True, blank=True
choices=GeometryTypes.choices, null=True, blank=True
)

settings = models.JSONField(default=dict, blank=True)
Expand Down
2 changes: 1 addition & 1 deletion project/geosource/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class CSVSourceSerializer(FileSourceSerializer):
coordinates_field_count = serializers.CharField(required=False)
coordinates_separator = serializers.CharField(required=False)
geom_type = serializers.ChoiceField(
default=GeometryTypes.Point, choices=GeometryTypes.choices()
default=GeometryTypes.Point, choices=GeometryTypes.choices
)

class Meta:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ django-crispy-forms==2.1
# crispy-bootstrap5
django-filter==23.5
# via -r requirements.in
django-geostore==0.8.0
django-geostore==1.0.0
# via -r requirements.in
django-grappelli==3.0.8
# via -r requirements.in
Expand Down