Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#32230 closed New feature (fixed)

Add support for pathlib.Path to the django.contrib.gis.gdal.DataSource.

Reported by: Mariusz Felisiak Owned by: Hasan Ramezani
Component: GIS Version: 3.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: yes UI/UX: no

Description

Add support for pathlib.Path to the django.contrib.gis.gdal.DataSource.

Thanks Neil Lyons for the report.

Change History (8)

comment:1 by GitHub <noreply@…>, 4 years ago

In e46ca51c:

Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.

DataSource.ds_input doesn't support pathlib.Path().

Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.

comment:2 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 3a70c36:

[3.1.x] Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.

DataSource.ds_input doesn't support pathlib.Path().

Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.
Backport of e46ca51c249677c52e04db28fc0c60ae1948b3b2 from master

comment:3 by Hasan Ramezani, 4 years ago

Has patch: set
Owner: changed from nobody to Hasan Ramezani
Status: newassigned
Version 0, edited 4 years ago by Hasan Ramezani (next)

comment:4 by Nick Pope, 4 years ago

Triage Stage: UnreviewedAccepted

comment:5 by Mariusz Felisiak, 4 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

Resolution: fixed
Status: assignedclosed

In b37be072:

Fixed #32230 -- Made DataSource support pathlib.Path.

comment:7 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 931c6e98:

Refs #32230 -- Made LayerMapping support pathlib.Path.

comment:8 by GitHub <noreply@…>, 4 years ago

In 2ab8b5f:

[3.1.x] Refs #32230 -- Fixed LayerMapping example in GeoDjango tutorial.

LayerMapping.data_source doesn't support pathlib.Path().

Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.

Follow up to e46ca51c249677c52e04db28fc0c60ae1948b3b2.

Note: See TracTickets for help on using tickets.
Back to Top